diff --git a/BPASmartClient.IoT/DataVClient.cs b/BPASmartClient.IoT/DataVClient.cs index 1548f5c0..e6feaa29 100644 --- a/BPASmartClient.IoT/DataVClient.cs +++ b/BPASmartClient.IoT/DataVClient.cs @@ -168,9 +168,9 @@ namespace BPASmartClient.IoT DeviceId=device.DeviceId, Name=device.Name, DeviceType=device.DeviceType.ToString(), - IsBusy=device.IsBusy?"忙碌":"空闲", - IsBusyColor= device.IsBusy ? new ALYColor {r=255,g=0,b=0,a=1} : new ALYColor {r = 51, g = 232, b = 34, a = 1 }, - IsHealth =device.IsHealth?"健康":"故障", + IsBusy= device.IsBusy?"忙碌":"空闲", + IsBusyColor = device.IsBusy ? new ALYColor {r=255,g=0,b=0,a=1} : new ALYColor {r = 51, g = 232, b = 34, a = 1 }, + IsHealth = device.IsHealth?"健康":"故障", IsHealthColor = !device.IsHealth ? new ALYColor { r = 255, g = 0, b = 0, a = 1 } : new ALYColor { r = 51, g = 232, b = 34, a = 1 }, Status = device.Status.GetStatus(), };