From 06696e6f225733a60b03eea4a7c6374053d92c1d Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 14 四月 2020 14:15:35 +0800
Subject: [PATCH] 20200414

---
 HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomEditFunctionPage.cs |   15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomEditFunctionPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomEditFunctionPage.cs
index cfc181b..2753df0 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomEditFunctionPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/ResidentialManage/RoomEditFunctionPage.cs
@@ -204,17 +204,22 @@
                 functionRow.AddChidren(btnFunctionIcon);
                 switch (function.functionCategory)
                 {
-                    case FunctionCategory.AC:
-                        btnFunctionIcon.UnSelectedImagePath = "FunctionIcon/AC/AcThinIcon.png";
+                    case FunctionCategory.Thermostat:
+                        switch (function.functionType)
+                        {
+                            case FunctionType.AC:
+                                btnFunctionIcon.UnSelectedImagePath = "FunctionIcon/AC/AcThinIcon.png";
+                                break;
+                            case FunctionType.FloorHeating:
+                                btnFunctionIcon.UnSelectedImagePath = "FunctionIcon/FloorHeating/FloorHeatingThinIcon.png";
+                                break;
+                        }
                         break;
                     case FunctionCategory.Curtain:
                         btnFunctionIcon.UnSelectedImagePath = "FunctionIcon/Curtain/CurtainThinIcon.png";
                         break;
                     case FunctionCategory.Light:
                         btnFunctionIcon.UnSelectedImagePath = "FunctionIcon/Light/LightThinIcon.png";
-                        break;
-                    case FunctionCategory.FloorHeating:
-                        btnFunctionIcon.UnSelectedImagePath = "FunctionIcon/FloorHeating/FloorHeatingThinIcon.png";
                         break;
                 }
 

--
Gitblit v1.8.0