hxb
2021-03-05 84fa7c9665d9bed9aef79237be9c5eb57c49f13d
HDL_ON/UI/UI2/FuntionControlView/Electrical/FanPageBLL.cs
old mode 100755 new mode 100644
@@ -51,7 +51,7 @@
        {
            btnCollection.MouseUpEventHandler += (sender, e) => {
                btnCollection.IsSelected = fan.collect = btnCollection_Out.IsSelected = !btnCollection.IsSelected;
                fan.SaveFunctionData(true);
                fan.CollectFunction();
            };
        }
@@ -70,6 +70,7 @@
                    //Control.Send(CommandType_A.write, this.fan);
                    System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>();
                    d.Add("on_off", fan.trait_on_off.curValue.ToString());
                    d.Add("fan_speed_percent", fan.openLevel.ToString());
                    Control.Ins.SendWriteCommand(fan, d);
                })
                { IsBackground = true }.Start();
@@ -84,6 +85,7 @@
                    //Control.Send(CommandType_A.write, this.fan);
                    System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>();
                    d.Add("on_off", fan.trait_on_off.curValue.ToString());
                    d.Add("fan_speed_percent", fan.openLevel.ToString());
                    Control.Ins.SendWriteCommand(fan, d);
                })
                { IsBackground = true }.Start();
@@ -97,6 +99,7 @@
                    //Control.Send(CommandType_A.write, this.fan);
                    System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>();
                    d.Add("on_off", fan.trait_on_off.curValue.ToString());
                    d.Add("fan_speed_percent", fan.openLevel.ToString());
                    Control.Ins.SendWriteCommand(fan, d);
                })
                { IsBackground = true }.Start();