Commit b349ef35 张东亮

横移3未读到容器时清除上一次容器信息

1 个父辈 6848577d
...@@ -336,7 +336,11 @@ namespace OnlineStore.DeviceLibrary ...@@ -336,7 +336,11 @@ namespace OnlineStore.DeviceLibrary
ContainerManager.AddOrUpdateContainerInfo(CurContainerId); ContainerManager.AddOrUpdateContainerInfo(CurContainerId);
} }
} }
else
{
PreContainerId = CurContainerId;
CurContainerId = "";
}
if (RFIDIP == null || RFIDIP.Count == 0) { } if (RFIDIP == null || RFIDIP.Count == 0) { }
else else
{ {
......
...@@ -475,7 +475,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -475,7 +475,7 @@ namespace OnlineStore.DeviceLibrary
} }
catch (Exception ex) catch (Exception ex)
{ {
LogUtil.error(deviceName + " ", ex); LogUtil.error(deviceName + " UpdateLocInfo ", ex);
} }
return false; return false;
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!