From 1fcf2302f79f9cbea5ef17c3688311ed65cfabb4 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期四, 28 一月 2021 19:54:25 +0800 Subject: [PATCH] Win7新版本 --- 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 index 6473187..e3020d9 100644 --- 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