From 47769b2c2554d2b0f37237c1658044bd3a5bb6f7 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 27 九月 2022 14:05:03 +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