From 404cdc88627f942df7944af04ee05b9d527752d6 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 30 九月 2019 13:22:40 +0800 Subject: [PATCH] 合并了徐梅的按键面板绑定 --- ZigbeeApp/Shared/Phone/Device/Light/LightControl.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Light/LightControl.cs b/ZigbeeApp/Shared/Phone/Device/Light/LightControl.cs old mode 100644 new mode 100755 index 1b4d6f1..d586038 --- a/ZigbeeApp/Shared/Phone/Device/Light/LightControl.cs +++ b/ZigbeeApp/Shared/Phone/Device/Light/LightControl.cs @@ -175,14 +175,14 @@ } if (deviceUI.CommonDevice.Type == DeviceType.OnOffOutput) { - var light = deviceUI.CommonDevice as ToggleLight; + var light = deviceUI.CommonDevice as ToggleLight; light.IsOnline = (common as ToggleLight).IsOnline; deviceIMG.IsSelected = light.IsOnline == 1; light.LastDateTime = DateTime.Now; } } catch (Exception ex) - { + { System.Console.WriteLine($"Error:{ex.Message}"); } }); -- Gitblit v1.8.0