old mode 100755
new mode 100644
| | |
| | | { |
| | | btnCollection.MouseUpEventHandler += (sender, e) => { |
| | | btnCollection.IsSelected = fan.collect = btnCollection_Out.IsSelected = !btnCollection.IsSelected; |
| | | fan.SaveFunctionData(true); |
| | | fan.CollectFunction(); |
| | | }; |
| | | } |
| | | |
| | |
| | | //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(); |
| | |
| | | //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(); |
| | |
| | | //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(); |