Commit 5621c002 LN

出库未结束时,去掉:检测到料架自动入库功能

1 个父辈 b331ffd9
...@@ -398,6 +398,10 @@ namespace OnlineStore.ACPackingStore ...@@ -398,6 +398,10 @@ namespace OnlineStore.ACPackingStore
{ {
chbAGV.Checked = AgvClient.CurrCancelState; chbAGV.Checked = AgvClient.CurrCancelState;
} }
if (!chbAutoShelfInstore.Checked.Equals(store.AutoShelfInstore))
{
chbAutoShelfInstore.Checked=store.AutoShelfInstore;
}
lblWarnMsg.Text = msg; lblWarnMsg.Text = msg;
LogM(); LogM();
} }
...@@ -555,6 +559,10 @@ namespace OnlineStore.ACPackingStore ...@@ -555,6 +559,10 @@ namespace OnlineStore.ACPackingStore
{ {
return; return;
} }
if (chbAutoShelfInstore.Checked.Equals(store.AutoShelfInstore))
{
return;
}
if (chbAutoShelfInstore.Checked) if (chbAutoShelfInstore.Checked)
{ {
store.AutoShelfInstore = true; store.AutoShelfInstore = true;
...@@ -596,14 +604,14 @@ namespace OnlineStore.ACPackingStore ...@@ -596,14 +604,14 @@ namespace OnlineStore.ACPackingStore
} }
if (chbDoorCanMove.Checked) if (chbDoorCanMove.Checked)
{ {
store.AutoShelfInstore = true; // store.AutoShelfInstore = true;
ConfigAppSettings.SaveValue(Setting_Init.UseDoor, 1); ConfigAppSettings.SaveValue(Setting_Init.UseDoor, 1);
LogUtil.info("勾选:启用入料口移门"); LogUtil.info("勾选:启用入料口移门");
} }
else else
{ {
store.AutoShelfInstore = false; // store.AutoShelfInstore = false;
ConfigAppSettings.SaveValue(Setting_Init.UseDoor, 0); ConfigAppSettings.SaveValue(Setting_Init.UseDoor, 0);
LogUtil.info("去掉:启用入料口移门"); LogUtil.info("去掉:启用入料口移门");
} }
......
...@@ -91,6 +91,7 @@ shelfLoc问题修改。 ...@@ -91,6 +91,7 @@ shelfLoc问题修改。
20200308 20200308
扫码问题优化。 扫码问题优化。
出库未结束时,去掉:检测到料架自动入库功能。
......
...@@ -1015,9 +1015,17 @@ namespace OnlineStore.DeviceLibrary ...@@ -1015,9 +1015,17 @@ namespace OnlineStore.DeviceLibrary
string posId = MoveInfo.MoveParam != null ? MoveInfo.MoveParam.PosID : ""; string posId = MoveInfo.MoveParam != null ? MoveInfo.MoveParam.PosID : "";
storeStatus = StoreStatus.StoreOnline; storeStatus = StoreStatus.StoreOnline;
LogInfo(" 【" + posId + "】 整个出库流程结束,耗时【" + FormUtil.GetSpanStr(span) + "】!"); LogInfo(" 【" + posId + "】 整个出库流程结束,耗时【" + FormUtil.GetSpanStr(span) + "】!");
MoveEndToRuningStatus(); MoveEndToRuningStatus();
AutoInout.InOutEndProcess(this, StoreMoveType.OutStore); AutoInout.InOutEndProcess(this, StoreMoveType.OutStore);
if (!String.IsNullOrEmpty(MoveInfo.MoveParam.rfid))
{
if (StoreManager.Store.AutoShelfInstore)
{
LogInfo(" 料架【" + CurrShelfID + "】还有出库任务,设置 AutoShelfInstore = false");
ConfigAppSettings.SaveValue(Setting_Init.AutoShelfInstore, 0);
StoreManager.Store.AutoShelfInstore = false;
}
}
} }
} }
#endregion #endregion
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!