Commit 99d38530 刘韬

修正自动出库错误

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