From 8b9ce384b26c414db32f98e94e088f5334869c2d Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期三, 13 十一月 2019 15:36:28 +0800
Subject: [PATCH] 全部合并了代码,安卓和 IOS 都测试通过了

---
 ZigbeeApp/Shared/Phone/Device/AirSwitch/AirSwitchControl.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/AirSwitch/AirSwitchControl.cs b/ZigbeeApp/Shared/Phone/Device/AirSwitch/AirSwitchControl.cs
index ecb3c7e..91cab32 100755
--- a/ZigbeeApp/Shared/Phone/Device/AirSwitch/AirSwitchControl.cs
+++ b/ZigbeeApp/Shared/Phone/Device/AirSwitch/AirSwitchControl.cs
@@ -175,7 +175,7 @@
                         if (deviceUI.CommonDevice.Type == DeviceType.AirSwitch)
                         {
                             var airSwitch = deviceUI.CommonDevice as ZigBee.Device.AirSwitch;
-                            airSwitch.IsOnline = (common as ZigBee.Device.AirSwitch).IsOnline;
+                            airSwitch.IsOnline = common.IsOnline;
                             deviceIMG.IsSelected = airSwitch.IsOnline == 1;
                             airSwitch.LastDateTime = DateTime.Now;
                         }

--
Gitblit v1.8.0