From ed2d2c9b9e9bca8cd97136b738c2624193dd9d92 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期日, 09 十月 2022 11:48:34 +0800 Subject: [PATCH] 百叶帘,编辑场景数据显示异常,光伏功能安卓系统返回上一次 --- HDL_ON/UI/UI2/FuntionControlView/Acst/AcstParentPage.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstParentPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstParentPage.cs index e071faa..4762bbb 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstParentPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstParentPage.cs @@ -831,7 +831,7 @@ new System.Threading.Thread(() => { Dictionary<string, string> d = new Dictionary<string, string>(); - d.Add("onoff", btnPowerControl.IsSelected ? "on" : "off"); + d.Add(FunctionAttributeKey.OnOff, btnPowerControl.IsSelected ? "on" : "off"); Control.Ins.SendWriteCommand(function, d); }) { IsBackground = true }.Start(); @@ -1116,7 +1116,7 @@ X = btnSubTempIcon.Right, Y = Application.GetRealHeight(45 + 11), Height = Application.GetRealHeight(14), - Width = Application.GetRealWidth(22), + Width = Application.GetRealWidth(35), TextColor = 0xFF1b3035, TextSize = 10, Text = sub.GetAttrState(AcstSub_AttrEnum.room_temp.ToString()) + "掳C", @@ -1139,7 +1139,7 @@ X = btnSubHumidityIcon.Right, Y = Application.GetRealHeight(45 + 11), Height = Application.GetRealHeight(14), - Width = Application.GetRealWidth(22), + Width = Application.GetRealWidth(35), TextColor = 0xFF1b3053, TextSize = 10, Text = sub.GetAttrState(AcstSub_AttrEnum.room_humidity.ToString()) + "%", -- Gitblit v1.8.0