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