Admin
2025-12-03 d41acebbd89f171b0eeb205fca4f68043ca85f95
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/AGV/Partial/genAgvSchedulingTask.cs
@@ -39,9 +39,9 @@
                //查找当前在车轴线末端需要agv搬运的车轴
                List<Dt_CZInfo_mes> CZInfotlist = _task_CZInfoRepository.QueryData(x => x.CurrentStatue == "4" || x.CurrentStatue == "5" );
                Dt_CZInfo_mes CZInfotlist = _task_CZInfoRepository.QueryData(x => x.CurrentStatue == "4" || x.CurrentStatue == "5" ).FirstOrDefault();
                if (CZInfotlist.Count >= 2) { return content.Error($"已有agv任务正在进行中,下发失败!!!"); }
                if (CZInfotlist!=null) { return content.Error($"已有agv任务正在进行中,下发失败!!!"); }
                Dt_CZInfo_mes CZInfot = null;
@@ -56,8 +56,10 @@
                    if (CZInfot == null) { return content.Error($"未找到现有输送线完成的车轴信息"); }
                }
                
                if(CZInfot.TemporaryState==1) { return content.Error($"暂存车车轴,不可出库"); }
                CZInfot.CurrentStatue = "4";
                CZInfot.AGVaddres = input.Position;
               
                //查找车轴对应的车轮信息