| | |
| | | using System; |
| | | using HDL_ON.DriverLayer; |
| | | using HDL_ON.Entity; |
| | | using Shared; |
| | | |
| | |
| | | //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.value.ToString()); |
| | | Control.SendWriteCommand(fan, d); |
| | | 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.value.ToString()); |
| | | Control.SendWriteCommand(fan, d); |
| | | 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.value.ToString()); |
| | | Control.SendWriteCommand(fan, d); |
| | | Control.ins.SendWriteCommand(fan, d); |
| | | }) |
| | | { IsBackground = true }.Start(); |
| | | }; |