Commit e5f56bc8 LN

bug修改。机械启动无反应。box2状态错误。

1 个父辈 73bbb05b
...@@ -139,7 +139,7 @@ namespace OnlineStore.DUOStore ...@@ -139,7 +139,7 @@ namespace OnlineStore.DUOStore
List<EquipBase> eqList = new List<EquipBase>(store.BoxMap.Values); List<EquipBase> eqList = new List<EquipBase>(store.BoxMap.Values);
eqList.Insert(0, store); eqList.Insert(0, store);
foreach (EquipBase equip in store.BoxMap.Values) foreach (EquipBase equip in eqList)
{ {
if (i.Equals(0)) if (i.Equals(0))
{ {
......
...@@ -86,7 +86,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -86,7 +86,7 @@ namespace OnlineStore.DeviceLibrary
int isAuto = ConfigAppSettings.GetIntValue(Setting_Init.App_AutoRun); int isAuto = ConfigAppSettings.GetIntValue(Setting_Init.App_AutoRun);
if (isAuto == 1) if (isAuto == 1)
{ {
mainTimer.Enabled = true; IoCheckTimer.Enabled = true;
} }
}); });
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!