From 6692d867a0876b014be3cbd64bc3a237a026dc2d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 18 十月 2022 09:57:15 +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