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("盘点出库")] OutInventory = 101, /// /// 分拣出库 /// [Description("分拣出库")] OutPick = 102, /// /// 质检出库 /// [Description("质检出库")] OutQuality = 103, /// /// 出空 /// [Description("出空")] PalletOutbound = 104, /// /// 补空 /// [Description("补空")] PalletFillOutbound = 105, /// /// 入库 /// [Description("入库")] Inbound = 200, /// /// 盘点入库 /// [Description("盘点入库")] InInventory = 201, /// /// 分拣入库 /// [Description("分拣入库")] InPick = 202, /// /// 质检入库 /// [Description("质检入库")] InQuality = 203, /// /// 入空 /// [Description("入空")] PalletInbound = 204, /// /// 回空 /// [Description("回空")] PalletReturnInbound = 205, /// /// 移库 /// [Description("移库")] Relocation = 300, /// /// 库内移库 /// [Description("库内移库")] RelocationIn = 301, /// /// 库外移库 /// [Description("库外移库")] RelocationOut = 302, [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, } #endregion 入库任务状态 #region 出库任务状态 /// /// 出库任务状态 /// public enum OutTaskStatusEnum { /// /// 新建出库任务 /// [Description("新建")] OutNew = 100, /// /// 堆垛机出库执行中 /// [Description("堆垛机出库执行中")] SC_OutExecuting = 130, /// /// 堆垛机出库完成 /// [Description("堆垛机出库完成")] SC_OutFinish = 135, /// /// 出库任务完成 /// [Description("出库任务完成")] OutFinish = 190, /// /// 出库任务取消 /// [Description("出库任务取消")] OutCancel = 198, /// /// 出库任务异常 /// [Description("出库任务异常")] OutException = 199 } #endregion #region 移库任务状态 public enum RelocationTaskStatusEnum { /// /// 新建移库任务 /// [Description("新建移库任务")] RelocationNew = 300, /// /// 移库任务执行中 /// [Description("移库任务执行中")] RelocationExecuting = 310, /// /// 移库任务完成 /// [Description("移库任务完成")] RelocationFinish = 320, /// /// 移库任务取消 /// [Description("移库任务取消")] RelocationCancel = 398, /// /// 移库任务异常 /// [Description("移库任务异常")] RelocationException = 399, } #endregion #region AGV任务状态 public enum AGVTaskStatusEnum { #region MyRegion ///// ///// 新建 ///// //[Description("新建")] //AGV_New = 500, ///// ///// AGV执行中 ///// //[Description("AGV执行中")] //AGV_Executing = 510, ///// ///// AGV完成 ///// //[Description("AGV完成")] //AGV_Finish = 520, ///// ///// AGV任务取消 ///// //[Description("AGV任务取消")] //RelocationCancel = 598, ///// ///// AGV任务异常 ///// //[Description("AGV任务异常")] //RelocationException = 599, #endregion /// /// 任务创建完成 /// [Description("任务创建完成")] Create = 500, /// /// 任务排队 /// [Description("任务排队")] Queuing = 510, /// /// 任务运行 /// [Description("任务运行")] Running = 520, /// /// 取货完成 /// [Description("取货完成")] DoneFetch = 530, /// /// 放货完成 /// [Description("放货完成")] DonePut = 540, /// /// 任务完成 /// [Description("任务完成")] Finish = 550, /// /// 任务取消,取消待执行的任务 /// [Description("任务取消,取消待执行的任务")] Cancel = 598, /// /// 任务终止,终止正在执行的任务 /// [Description("任务终止,终止正在执行的任务")] Terminate = 597, /// /// 任务异常终止,任务执行过程中存在异常 /// [Description("任务异常终止,任务执行过程中存在异常")] Error = 599, } #endregion }