From 237e3ec4ee42724d43767d46f9a5320b8130e783 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期四, 24 十二月 2020 22:47:53 +0800
Subject: [PATCH] 23

---
 HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs
index c8ca8aa..94ddcde 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/AC/ACPageBLL.cs
@@ -36,9 +36,10 @@
                     bodyView.btnIndoorTemp.Text = Language.StringByID(StringId.IndoorTemp) + Convert.ToInt32(Convert.ToDouble(uAc.trait_IndoorTemp.curValue)) + "掳C";
                     bodyView.btnMode.UnSelectedImagePath = uAc.curModeImage;
                     bodyView.btnWindSpeed.UnSelectedImagePath = uAc.curFanImage;
-                    if(uAc.trait_on_off.curValue.ToString() == "on")
+                    bodyView.arcBar.Progress = Convert.ToInt32(Convert.ToDouble(uAc.trait_temp.curValue));
+                    if (uAc.trait_on_off.curValue.ToString() == "on")
                     {
-                        bodyView.arcBar.IsOffline = true;
+                        bodyView.arcBar.IsOffline = false;
                         bodyView.btnSwitch.IsSelected = true;
                         bodyView.arcBar.ThumbImagePath = "FunctionIcon/AC/DiyThumbIconOn.png";
                         if (uAc.trait_mode.curValue.ToString() == "fan")
@@ -52,7 +53,7 @@
                     }
                     else
                     {
-                        bodyView.arcBar.IsOffline = false;
+                        bodyView.arcBar.IsOffline = true;
                         bodyView.btnSwitch.IsSelected = false;
                         bodyView.arcBar.IsClickable = false;
                         bodyView.arcBar.ThumbImagePath = "FunctionIcon/AC/DiyThumbIcon.png";

--
Gitblit v1.8.0