Commit 5cfe04d6 刘韬

修改出库等待逻辑

1 个父辈 bfc4b446
......@@ -776,17 +776,17 @@ namespace OnlineStore.DeviceLibrary
int OutStoreWaitSeconds = ConfigAppSettings.GetIntValue(Setting_Init.OutStoreWaitSeconds);
if (OutStoreWaitSeconds <= 0)
{
OutStoreWaitSeconds = 600;
OutStoreWaitSeconds = 60;
}
int ms = OutStoreWaitSeconds * 1000;
//int ms = OutStoreWaitSeconds * 1000;
StoreMove.NextMoveStep(StoreMoveStep.SO_18_WaitTake);
OutStoreLog("出库:SO_18_WaitTake 等待拿走物品,最多等待" + OutStoreWaitSeconds + "秒");
OutStoreLog("出库:SO_18_WaitTake 等待拿走物品,等待" + OutStoreWaitSeconds + "秒后报警");
StoreMove.TimeOutSeconds = OutStoreWaitSeconds;
KNDIOMove(IO_Type.CanGetTray, IO_VALUE.HIGH);
StoreMove.WaitList.Add(WaitResultInfo.WaitTime(ms));
//StoreMove.WaitList.Add(WaitResultInfo.WaitTime(ms));
//StoreMove.WaitList.Add(WaitResultInfo.WaitIO(IO_Type.TrayCheck_Door, IO_VALUE.LOW));
StoreMove.WaitList.Add(WaitResultInfo.WaitHeight(0));
StoreMove.OneWaitCanEndStep = true;
//StoreMove.OneWaitCanEndStep = true;
}
else if (StoreMove.MoveStep == StoreMoveStep.SO_18_WaitTake)
{
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!