소스 검색

IOT 状态上报

样式分支
fyf 2 년 전
부모
커밋
a8db554688
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      BPASmartClient.IoT/DataVClient.cs

+ 3
- 3
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(),
};


불러오는 중...
취소
저장