|
|
@ -114,7 +114,7 @@ public class MonitorService
|
|
|
|
|
|
|
|
|
|
|
|
DeviceStateResp resp = new()
|
|
|
|
DeviceStateResp resp = new()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
BoxConnectFlag = isConnected != null ? isConnected : false,
|
|
|
|
BoxConnectFlag = isConnected,
|
|
|
|
CloudConnectFlag = CloudClientMgr.CloudClient == null ? false : CloudClientMgr.CloudClient.Connected,
|
|
|
|
CloudConnectFlag = CloudClientMgr.CloudClient == null ? false : CloudClientMgr.CloudClient.Connected,
|
|
|
|
PlcConnectFlag = PlcMgr.PlcClient == null ? false : PlcMgr.PlcClient.Connected
|
|
|
|
PlcConnectFlag = PlcMgr.PlcClient == null ? false : PlcMgr.PlcClient.Connected
|
|
|
|
};
|
|
|
|
};
|
|
|
|