Commit f39622e9 LN

分流横移1逻辑修改:增加新料仓19的逻辑

1 个父辈 8fe7045d
...@@ -368,14 +368,17 @@ namespace OnlineStore.DeviceLibrary ...@@ -368,14 +368,17 @@ namespace OnlineStore.DeviceLibrary
InOutParam inoup = trayInfo.InoutPar; InOutParam inoup = trayInfo.InoutPar;
if (trayInfo.InOrOutStore.Equals(ReelType.InStore)) if (trayInfo.InOrOutStore.Equals(ReelType.InStore))
{ {
int storeId = inoup.GetStoreId();
List<int> storeIdList = new List<int>() { 10, 19, 25 };
if (inoup.InStoreNg) if (inoup.InStoreNg)
{ {
outMsg = "入料NG料"; outMsg = "入料NG料";
return true; return true;
} }
else if (inoup.GetStoreId().Equals(10).Equals(false)) else if (!storeIdList.Contains(storeId))
{ {
outMsg = "非10号仓入库"; outMsg = "非10_19号仓入库";
return true; return true;
} }
} }
...@@ -393,6 +396,11 @@ namespace OnlineStore.DeviceLibrary ...@@ -393,6 +396,11 @@ namespace OnlineStore.DeviceLibrary
{ {
return false; return false;
} }
MoveEquip moveEquip19 = LineManager.Line.GetMoveByDId(19);
if (moveEquip19.IsWaitEmptyTray())
{
return false;
}
FeedingEquip feed3 = LineManager.Line.FeedingEquipMap[103]; FeedingEquip feed3 = LineManager.Line.FeedingEquipMap[103];
if (feed3.WaitEmptyTray()) if (feed3.WaitEmptyTray())
{ {
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!