Commit f39622e9 LN

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

1 个父辈 8fe7045d
......@@ -368,14 +368,17 @@ namespace OnlineStore.DeviceLibrary
InOutParam inoup = trayInfo.InoutPar;
if (trayInfo.InOrOutStore.Equals(ReelType.InStore))
{
int storeId = inoup.GetStoreId();
List<int> storeIdList = new List<int>() { 10, 19, 25 };
if (inoup.InStoreNg)
{
outMsg = "入料NG料";
return true;
}
else if (inoup.GetStoreId().Equals(10).Equals(false))
else if (!storeIdList.Contains(storeId))
{
outMsg = "非10号仓入库";
outMsg = "非10_19号仓入库";
return true;
}
}
......@@ -393,6 +396,11 @@ namespace OnlineStore.DeviceLibrary
{
return false;
}
MoveEquip moveEquip19 = LineManager.Line.GetMoveByDId(19);
if (moveEquip19.IsWaitEmptyTray())
{
return false;
}
FeedingEquip feed3 = LineManager.Line.FeedingEquipMap[103];
if (feed3.WaitEmptyTray())
{
......
......@@ -181,7 +181,7 @@ namespace OnlineStore.DeviceLibrary
}
}
return false;
}
}
public static string GetAllCID(int equipId)
{
//左侧19,右侧20
......@@ -233,7 +233,7 @@ namespace OnlineStore.DeviceLibrary
}
}
foreach (int id in IdList)
{
{
// foreach (BoxInfo box in BoxMap.Values)
//{
BoxInfo box = GetBoxInfo(id);
......@@ -248,7 +248,7 @@ namespace OnlineStore.DeviceLibrary
}
}
}
}
}
if (result.EndsWith(","))
{
result = result.Substring(0, result.Length - 1);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!