mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-10-23 11:51:09 +08:00
采集设备状态判断错误
This commit is contained in:
@@ -251,7 +251,7 @@ public class CollectDeviceCore : DisposableObject
|
||||
}
|
||||
|
||||
|
||||
if (deviceMedsVariableFailedNum == 0 && deviceSourceVariableFailedNum == 0 && (deviceMedsVariableSuccessNum != 0 || deviceMedsVariableSuccessNum != 0))
|
||||
if (deviceMedsVariableFailedNum == 0 && deviceSourceVariableFailedNum == 0 && (deviceMedsVariableSuccessNum != 0 || deviceSourceVariableSuccessNum != 0))
|
||||
{
|
||||
Device.DeviceStatus = DeviceStatusEnum.OnLine;
|
||||
|
||||
|
Reference in New Issue
Block a user