| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OHV.Common.Model
- {
- /// <summary>
- /// Vehicle 이 사용하는 Command
- /// </summary>
- public class SubCmd
- {
- public enum eType
- {
- Move,
- Load,
- Unload,
- Charge,
- }
- public enum eCmdType
- {
- Auto,
- Manual,
- }
- public enum eSubCmdState
- {
- Processing,
- Block,
- Complete,
- }
- public SubCmd()
- {
- ID = $"{Guid.NewGuid()}_{DateTime.Now.ToString("HHmmssfff")}";
- this.CreateTime = DateTime.Now;
- }
- public string ID { get; set; }
- public string CraneID { get; set; }
- public string CmdID { get; set; }
- public string TargetID { get; set; }
- public eType Type { get; set; }
- public eCmdType CmdType { get; set; }
- public eSubCmdState State { get; set; }
- public DateTime CreateTime { get; set; }
- public virtual bool IsSelected { get; set; }
- }
- }
|