| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 | using System;using System.Collections.Generic;using System.ComponentModel.DataAnnotations;using System.Linq;using System.Text;using System.Threading.Tasks;using SqlSugar;namespace WCS_Client.Frm{    public class WCS_TASK    {        [SugarColumn(IsPrimaryKey = true, IsIdentity = false)]        public int ID { get; set; }        public string BARCODE { get; set; }        public TaskType TYPE { get; set; }        public int STATUS { get; set; }        //public TaskStatus STATUSCh        //{        //    get         //    {        //        return (TaskStatus)STATUS;        //    }        //}        public string ADDRFROM { get; set; }             public string ADDRTO { get; set; }        //[StringLength(20)]        //public string ADDRCURRENT { get; set; }        public string ADDRNEXT{ get; set; }              public string TUNNEL { get; set; }        public int FLOOR { get; set; }        public string DEVICE { get; set; }        public string SCSTATION { get; set; }        public DateTime CREATETIME { get; set; } = DateTime.Now;        public DateTime? STARTTIME { get; set; }        public DateTime? ENDTIME { get; set; }        public int DOCID { get; set; }        /// <summary>        /// 托盘类型1-4        /// </summary>        public short PALLETTYPE { get; set; }        public int Priority { get; set; }        /// <summary>        /// 产线1-9        /// </summary>        public short PRODLINE { get; set; }          /// <summary>        /// 满盘数量        /// </summary>        public short FULLQTY { get; set; }          public short HEIGHT { get; set; }        public int WMSTASK { get; set; }          public int GROUPTASK { get; set; }        public TaskStatus UPLOADED { get; set; }        public string UPDATEUSER { get; set; }        public DateTime UPDATETIME { get; set; }        public int AgvTask { get; set; }    }    public enum TaskType    {        组盘 = 0,        入库 = 1,        出库 = 2,        输送 = 5,     }    public enum TaskStatus    {        新建 = 0,        执行中 = 2,        入库交管结束 = 3,        堆垛机执行 = 5,        堆垛机完成 = 6,        出库RGV执行 = 9,        已完成 = 99,        取消 = 106    }}
 |