From 43b0d5870d528f23ecd6aeceb6cfd4325188b46f Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 01 七月 2021 15:50:43 +0800
Subject: [PATCH] Revert "1"

---
 HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AirFreshControlPage.cs |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AirFreshControlPage.cs b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AirFreshControlPage.cs
index 4cf8131..e0a5cfe 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AirFreshControlPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/1ContorlPage/AirFreshControlPage.cs
@@ -96,6 +96,8 @@
             this.RefreshNowDeviceStatuMemory(this.device);
             //鍒濆鍖栫涓�涓储寮曢〉鐨勫唴瀹�
             this.InitFrameWhiteContent1();
+
+            Control.Ins.SendReadCommand(device);
         }
 
         /// <summary>
@@ -241,7 +243,7 @@
             this.FrameWhiteCentet1.AddChidren(btnFanView);
 
             //寮�鍏冲浘鏍�
-            this.btnSwitch = new IconViewControl(40);
+            this.btnSwitch = new IconViewControl(32);
             btnSwitch.Gravity = Gravity.CenterHorizontal;
             btnSwitch.Y = Application.GetRealHeight(468);
             btnSwitch.UnSelectedImagePath = "Public/PowerClose.png";
@@ -579,6 +581,10 @@
             dic[FunctionAttributeKey.Energy] = this.airFreshData.Energy;
             //椋庨��
             dic[FunctionAttributeKey.FanSpeed] = this.airFreshData.Fan ;
+            //瀹ゅ唴娓╁害
+            dic[FunctionAttributeKey.IndoorTemp] =  this.airFreshData.Indoor_temp.ToString();
+            ///瀹ゅ唴婀垮害
+            dic[FunctionAttributeKey.IndoorHumidity] = this.airFreshData.Indoor_humidity.ToString();
 
             return dic;
         }

--
Gitblit v1.8.0