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 { /// /// 领料出库 /// [Description("领料出库")] Outbound = 100, /// /// 盘点出库 /// [Description("盘点出库")] OutInventory = 110, /// /// 分拣出库 /// [Description("分拣出库")] OutPick = 120, /// /// 质检出库 /// [Description("质检出库")] OutQuality = 130, /// /// 空箱出库 /// [Description("空箱出库")] OutEmpty = 140, /// /// 调拨出库 /// [Description("调拨出库")] OutAllocate = 150, /// /// 成品出库 /// [Description("成品出库")] OutProduct = 230, /// /// 成品寄售出库 /// [Description("成品寄售出库")] OutSendProduct = 240, /// /// 采购入库 /// [Description("采购入库")] Inbound = 510, /// /// 盘点入库 /// [Description("盘点入库")] InInventory = 520, /// /// 分拣入库 /// [Description("分拣入库")] InPick = 530, /// /// 质检入库 /// [Description("质检入库")] InQuality = 540, /// /// 生产退料 /// [Description("生产退料")] ProductionReturn = 550, /// /// 调拨入库 /// [Description("调拨入库")] InAllocate = 570, /// /// 空箱入库 /// [Description("空箱入库")] InEmpty = 600, /// /// 成品入库 /// [Description("成品入库")] InProduct = 610, /// /// 成品余料回库 /// [Description("成品余料回库")] InProductBack = 620, /// /// 成品空框回库 /// [Description("成品空框回库")] EmptyProductBack = 630, /// /// 巷道内移库 /// [Description("巷道内移库")] Relocation = 900 } #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, } #endregion 入库任务状态 /// /// 出库任务状态 /// public enum OutTaskStatusEnum { /// /// 新建任务 /// [Description("新建")] OutNew = 100, /// /// 堆垛机出库执行中 /// [Description("堆垛机出库执行中")] SC_OutExecuting = 130, /// /// 堆垛机出库完成 /// [Description("堆垛机出库完成")] SC_OutFinish = 135, /// /// 移库任务执行中 /// [Description("移库任务执行中")] SC_RelocationExecuting = 140, /// /// 移库任务执行中 /// [Description("移库任务执行中")] SC_RelocationFinish = 145, /// /// 出库任务完成 /// [Description("出库任务完成")] OutFinish = 190, /// /// 出库任务取消 /// [Description("出库任务取消")] OutCancel = 198, /// /// 出库任务异常 /// [Description("出库任务异常")] OutException = 199 } public enum AGVTaskStatusEnum { [Description("新建")] AGV_New = 500, [Description("执行中")] AGV_Executing = 510, [Description("完成")] AGV_Finish = 520 } }