From 0abce7f2d672aa934dd0c2ff278638de590f10d8 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 26 九月 2023 10:57:15 +0800 Subject: [PATCH] 场景集成海信电视控制 --- HDL_ON/UI/UI1-Login/LoginPage.cs | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs index c545825..a62f728 100644 --- a/HDL_ON/UI/UI1-Login/LoginPage.cs +++ b/HDL_ON/UI/UI1-Login/LoginPage.cs @@ -926,6 +926,23 @@ #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", -- Gitblit v1.8.0