分支自 SuZhouGuanHong/TaiYuanTaiZhong

dengjunjie
2024-05-07 46f7bf1ee45c97b688a370bbe45d149efb403cc1
´úÂë¹ÜÀí/PCS/WCS_Server/WIDESEA_WCS/Jobs/Task/AutoTaskJob.cs
@@ -14,7 +14,10 @@
    [DisallowConcurrentExecution]
    public class AutoTaskJob : JobBase, IJob
    {
        LocationCreation Creation = new LocationCreation();
        /// <summary>
        /// è‡ªåŠ¨ä»»åŠ¡
        /// </summary>
        Createplcinfodetail Creation = new Createplcinfodetail();
        public Task Execute(IJobExecutionContext context)
        {
            try
@@ -27,8 +30,13 @@
        private void DoAction(IJobExecutionContext context)
        {
            //throw new NotImplementedException();
            Creation.HCJCreation();
            EmptyTray.EmptyTrayIn();//空托叠盘入库
            StationTask.CreateTask();//入库
            OutboundTask.CreateOutboundTask();//出库
            ReplaceTray.ReplaceTrayTask();//更换托盘
            RestockHCJ.HCJGetBarcode();//更新队列
            EmptyTrayTask.CreateEmptyTrayTask();//创建补空托
            AutoUpdateWork.FinishMesWork();//处理工单
        }
    }
}