wxr
2020-03-19 b69d7735274b8d0f741da8a6bb8b8e1347477a5a
HDL_ON/UI/UI2/FuntionControlView/Light/RelayPageBLL.cs
@@ -44,8 +44,8 @@
                new System.Threading.Thread(() =>
                {
                    var light = this.light as Light;
                    light.state = btnSwitch.IsSelected ? 1 : 0;
                    Control.Send("write", this.light, 3);
                    light.on_off = btnSwitch.IsSelected ? 1 : 0;
                    Control.Send("write", this.light);
                })
                { IsBackground = true }.Start();
            };
@@ -56,8 +56,8 @@
                new System.Threading.Thread(() =>
                {
                    var light = this.light as Light;
                    light.state = btnSwitch.IsSelected ? 1 : 0;
                    Control.Send("write", this.light, 3);
                    light.on_off = btnSwitch.IsSelected ? 1 : 0;
                    Control.Send("write", this.light);
                })
                { IsBackground = true }.Start();
            };