using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; using SqlSugar; namespace WCS_Client.Frm { [DataContract] public class WCS_AGVTask { [SugarColumn(IsPrimaryKey = true, IsIdentity = false)] public int ID { get; set; } public string AGVID { get; set; } public AGVTaskType TaskType { get; set; } public AGVTaskStatus Status { get; set; } public AGVTaskStatus AGVStatus { get; set; } public int Workshop { get; set; } public string Station { get; set; } public string Position { get; set; } public DateTime CreateTime { get; set; } public DateTime? UpdateTime { get; set; } public DateTime? AGVUpdateTime { get; set; } } public enum AGVTaskStatus { 新建 = 0, 确认 = 5, 执行 = 10, 请求_允许 = 20, 取放完成 = 21, 请求_允许2 = 30, 取放完成2 = 31, 完成 = 99, 完成扫码 = 100, 取消 = 106 } public enum AGVTaskType { 入库 = 1, 叫料 = 2 } }