using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WIDESEA_Core.Enums { #region 任务类型 /// /// 任务类型 100 出库;盘点出库 101; 102 分拣出库;103 质检出库;200 入库;盘点入库 201;分拣入库 202;质检入库 203;移库 300;库内移库 301;库外移库 302 /// public enum TaskTypeEnum { /// /// 出库 =100 /// [Description("出库")] Outbound = 100, /// /// 入库 /// [Description("入库")] Inbound = 200, [Description("AGV搬运")] AGVCarry = 500, } #endregion 任务类型 #region 入库任务状态 /// /// 入库任务状态 /// public enum InTaskStatusEnum { /// /// 新建入库任务 /// [Description("新建")] InNew = 200, /// /// 堆垛机入库执行中 /// [Description("堆垛机入库执行中")] SC_InExecuting = 230, /// /// 堆垛机入库完成 /// [Description("堆垛机入库完成")] SC_InFinish = 235, /// /// 入库任务完成 /// [Description("入库任务完成")] InFinish = 290, /// /// 入库任务取消 /// [Description("入库任务取消")] InCancel = 298, /// /// 入库任务异常 /// [Description("入库任务异常")] InException = 299, /// /// 新建移库任务 /// [Description("新建移库任务")] RelocationNew = 300, /// /// 移库任务完成 /// [Description("移库任务完成")] RelocationFinish = 310, /// /// 移库任务执行中 /// [Description("移库任务执行中")] RelocationExecuting = 320, /// /// 移库任务取消 /// [Description("移库任务取消")] RelocationCancel = 330, /// /// 移库任务异常 /// [Description("移库任务异常")] RelocationException = 340, } #endregion 入库任务状态 /// /// 出库任务状态 /// public enum OutTaskStatusEnum { ///// ///// ///// //[Description("新建")] //OutNew = 100, /// /// 新建任务 /// [Description("新建")] OutNew = 100, /// /// 堆垛机出库执行中 /// [Description("堆垛机出库执行中")] SC_OutExecuting = 130, /// /// 堆垛机出库完成 /// [Description("堆垛机出库完成")] SC_OutFinish = 135, /// /// 出库任务完成 /// [Description("出库任务完成")] OutFinish = 190, /// /// 出库任务取消 /// [Description("出库任务取消")] OutCancel = 198, /// /// 出库任务异常 /// [Description("出库任务异常")] OutException = 199 } public enum AGVTaskStatusEnum { [Description("新建")] AGV_New = 500, [Description("队列中")] AGV_Query = 505, [Description("等待中")] AGV_Wait = 506, [Description("任务已下发")] AGV_SendOut = 508, [Description("任务执行中")] AGV_Executing = 510, [Description("起点执行完成")] AGV_Complete = 515, [Description("任务完成")] AGV_Finish = 520, [Description("任务取消")] AGV_Cancel = 530, [Description("任务失败")] AGV_Fail = 540, [Description("手动完成")] AGV_Completion = 550, [Description("手动取消")] AGV_ManuallyCancel = 560 } }