林豪 左 1 năm trước cách đây
mục cha
commit
b9a2273fd9

+ 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"))
                                 {