Commit 8786baf1 LN

料仓或者移栽调试状态时,不获取库位号

1 个父辈 5a77e3ee
...@@ -204,9 +204,13 @@ namespace OnlineStore.DeviceLibrary ...@@ -204,9 +204,13 @@ namespace OnlineStore.DeviceLibrary
TimeSpan span = DateTime.Now - box.LastMsgTime; TimeSpan span = DateTime.Now - box.LastMsgTime;
if (span.TotalSeconds < ClientKeepSecond) if (span.TotalSeconds < ClientKeepSecond)
{ {
if (LineManager.Line.CanIntore(box.ID)) LineStatus status = (LineStatus)box.SStatus;
if ((!status.Equals(LineStatus.Debugging)) && (!status.Equals(LineStatus.SuddenStop)))
{ {
result += box.CId + ","; if (LineManager.Line.CanIntore(box.ID))
{
result += box.CId + ",";
}
} }
} }
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!