| | |
| | | |
| | | |
| | | #if DEBUG |
| | | var hesTv = new Function() |
| | | { |
| | | sid = "hisense000000000001", |
| | | deviceId = "hisense000000000001", |
| | | name = "海信电视", |
| | | spk = SPK.ElectricalTvHisense, |
| | | |
| | | roomIds = new List<string>() { "1405771024583090178" }, |
| | | attributes = new List<FunctionAttributes>() |
| | | { |
| | | new FunctionAttributes() { key = "on_off",value =new List<string>(){ "off" }, curValue="on",state = "on" }, |
| | | new FunctionAttributes() { key = "wol",value =new List<string>(){ "on" }, curValue="on",state = "on" }, |
| | | } |
| | | }; |
| | | hesTv.SaveFunctionFile(); |
| | | |
| | | |
| | | var airSwitchP3 = new Function() |
| | | { |
| | | sid = "airSwitchP3000000000001", |