From 6817ec660fcf032ed94a4197b145ad1e96c2aeed Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 06 五月 2020 17:40:34 +0800
Subject: [PATCH] 2020-05-06-2

---
 ZigbeeApp/Shared/Phone/UserCenter/Residence/LookRoomDeviceListForm.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Residence/LookRoomDeviceListForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Residence/LookRoomDeviceListForm.cs
index c848958..26abce9 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Residence/LookRoomDeviceListForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Residence/LookRoomDeviceListForm.cs
@@ -95,7 +95,7 @@
             //璁惧鍚嶅瓧
             var btnName = frameRow.AddLeftCaption(Common.LocalDevice.Current.GetDeviceEpointName(device), 700);
             btnName.TextSize = 15;
-            if (device.IsOnline == 0)
+            if (Common.LocalDevice.Current.CheckDeviceIsOnline(device) == false)
             {
                 btnName.TextColor = UserCenterColor.Current.TextGrayColor1;
             }

--
Gitblit v1.8.0