Commit 1cd40a54 LN

调试状态不连接服务器

1 个父辈 74e0aa74
...@@ -48,11 +48,18 @@ namespace OnlineStore.DeviceLibrary ...@@ -48,11 +48,18 @@ namespace OnlineStore.DeviceLibrary
try try
{ {
humBean.HumidityProcess(this); humBean.HumidityProcess(this);
if (IsDebug)
{
}
else
{
if (StoreManager.IsConnectServer) if (StoreManager.IsConnectServer)
{ {
SendLineStatus(); SendLineStatus();
} }
} }
}
catch (Exception ex) catch (Exception ex)
{ {
LogUtil.error(Name + "定时SendLineStatus出错:" + ex.ToString()); LogUtil.error(Name + "定时SendLineStatus出错:" + ex.ToString());
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!