From 69d4483b7c54660d1563f4ac110ca6da864b93d5 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 03 二月 2021 11:27:48 +0800
Subject: [PATCH] 2021-02-03 1.显示设备列表标题

---
 HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs b/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs
old mode 100644
new mode 100755
index 6473187..e3020d9
--- a/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs
+++ b/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs
@@ -159,11 +159,18 @@
                             case SPK.ElectricSocket:
                                 btnIcon.UnSelectedImagePath = "FunctionIcon/Socket/SocketThinIcon.png";
                                 break;
-                            case SPK.ElectricFan:
+                            case SPK.ElectricFan:
+                            case SPK.ElectricTuyaFan:
                                 btnIcon.UnSelectedImagePath = "FunctionIcon/Electrical/FanThinIcon.png";
                                 break;
                             case SPK.ElectricTV:
-                                btnIcon.UnSelectedImagePath = "FunctionIcon/Electrical/TVThinIcon.png";
+                                btnIcon.UnSelectedImagePath = "FunctionIcon/Electrical/TVThinIcon.png";
+                                break;
+                            case SPK.ElectricTuyaAirCleaner:
+                                btnIcon.UnSelectedImagePath = "FunctionIcon/Electrical/AirCleanerThiinIcon.png";
+                                break;
+                            case SPK.ElectricTuyaWeepRobot:
+                                btnIcon.UnSelectedImagePath = "FunctionIcon/Electrical/WeepRobotThinIcon.png";
                                 break;
                         }
                         btnSwitch.IsSelected = function.trait_on_off.curValue.ToString() == "on";

--
Gitblit v1.8.0