Commit 1dbdc9bf LN

调试模式下不启动扫码入库

1 个父辈 9526becb
...@@ -111,5 +111,8 @@ DeCodeType=解码类型,0=halcon,1=zxing解码 西安料仓解析方式。2= ...@@ -111,5 +111,8 @@ DeCodeType=解码类型,0=halcon,1=zxing解码 西安料仓解析方式。2=
20200227 20200227
增加调试状态按钮。 增加调试状态按钮。
20200228
调试模式下不启动扫码入库。
复位旋转轴的日志去掉。
...@@ -1042,7 +1042,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -1042,7 +1042,7 @@ namespace OnlineStore.DeviceLibrary
IO_VALUE checkIO = IOManager.IOValue(IO_Type.TrayCheck_Door); IO_VALUE checkIO = IOManager.IOValue(IO_Type.TrayCheck_Door);
int height = GetHeight(); int height = GetHeight();
//判断料门口是否有料 //判断料门口是否有料
if ((checkIO.Equals(IO_VALUE.HIGH)) && height > 0 && IOManager.IOValue(IO_Type.TrayCheck_Fixture).Equals(IO_VALUE.LOW)) if ((checkIO.Equals(IO_VALUE.HIGH)) && height > 0 && IOManager.IOValue(IO_Type.TrayCheck_Fixture).Equals(IO_VALUE.LOW)&&IsDebug.Equals(false))
{ {
if (IsScanCode) if (IsScanCode)
{ {
...@@ -1146,17 +1146,17 @@ namespace OnlineStore.DeviceLibrary ...@@ -1146,17 +1146,17 @@ namespace OnlineStore.DeviceLibrary
Reset(); Reset();
} }
} }
else if (CurrInOutCount >= this.Config.Box_ResetMCount) //else if (CurrInOutCount >= this.Config.Box_ResetMCount)
{ //{
if (storeRunStatus < StoreRunStatus.Runing || StoreMove.MoveType == StoreMoveType.InStore || StoreMove.MoveType == StoreMoveType.OutStore) // if (storeRunStatus < StoreRunStatus.Runing || StoreMove.MoveType == StoreMoveType.InStore || StoreMove.MoveType == StoreMoveType.OutStore)
{ // {
LogUtil.info(LOGGER, StoreName + "已经累计出入库" + CurrInOutCount + "次,当时当前正在忙碌中暂不复位旋转轴"); // LogUtil.info(LOGGER, StoreName + "已经累计出入库" + CurrInOutCount + "次,当时当前正在忙碌中暂不复位旋转轴");
} // }
else // else
{ // {
LogUtil.info(LOGGER, StoreName + "已经累计出入库" + CurrInOutCount + "次,需要复位一下旋转轴"); // LogUtil.info(LOGGER, StoreName + "已经累计出入库" + CurrInOutCount + "次,需要复位一下旋转轴");
} // }
} //}
else else
{ {
FixtureCodeInfo currInOutFixture = null; FixtureCodeInfo currInOutFixture = null;
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!