林豪 左 1 سال پیش
والد
کامیت
b9a2273fd9
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      业务工程/分拣库/WCS.WorkEngineering/Systems/环形库/机械臂cs.cs

+ 1 - 0
业务工程/分拣库/WCS.WorkEngineering/Systems/环形库/机械臂cs.cs

@@ -378,6 +378,7 @@ namespace WCS.WorkEngineering.Systems
                                 if (minDepth.MatCode != maxDepth.MatCode) taskInfos = taskInfos.OrderBy(x => x.ProdLine).Take(1).ToList();
                                 //深度之和等于6(机械臂当前无法同时执行两个三深度的取货任务)
                                 else if (taskInfos.Sum(x => x.Depth) == 6) taskInfos = taskInfos.OrderBy(x => x.ProdLine).Take(1).ToList();
+                                else if (minDepth.GoodsType != maxDepth.GoodsType) taskInfos = taskInfos.OrderBy(x => x.ProdLine).Take(1).ToList();
                                 else if (taskInfos[0].SrmStation != taskInfos[1].SrmStation) taskInfos = taskInfos.OrderBy(x => x.SrmStation).Take(1).ToList();
                                 else if (warehouseCode.Contains("S"))
                                 {