HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2019-09-30 404cdc88627f942df7944af04ee05b9d527752d6
ZigbeeApp/Shared/Phone/Device/Light/LightControl.cs
old mode 100644 new mode 100755
@@ -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}");
                    }
                });