From fdbcb1f7463cb766f90bd29dd715485ba9d88524 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 06 九月 2023 17:55:03 +0800 Subject: [PATCH] Merge branch 'wxr-2.0' into Dev-Branch --- HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs b/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs index b7d21a7..99e296c 100644 --- a/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs +++ b/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs @@ -276,7 +276,7 @@ { ClothesHangerFragment(); } - else if(function.spk == SPK.IpCam_Imou) + else if(function.spk == SPK.IpCam_Imou || function.spk == SPK.ElectricEnergy || function.spk ==SPK.AirSwitch || function.spk == SPK.AirSwitchP3) { } @@ -288,7 +288,7 @@ /// 寮�鍏虫寜閽� /// </summary> Button btnSwitch; - if (function.spk == SPK.LightRGB || function.spk == SPK.LightDimming) + if (function.spk == SPK.LightRGBW || function.spk == SPK.LightCCT || function.spk == SPK.LightRGB || function.spk == SPK.LightDimming) { btnSwitch = new Button() { @@ -462,7 +462,7 @@ bodyDiv.AddChidren(btnCollectionIcon); } - if (!function.online) + if (!function.isOnline()) { bodyDiv.BackgroundColor = CSS_Color.PromptingColor2; btnOffline = new Button() @@ -502,6 +502,7 @@ case SPK.LightDimming: case SPK.LightRGBW: case SPK.LightRGB: + case SPK.LightCCT: #region Dimmer var btnDimmerMinValues = new Button() { -- Gitblit v1.8.0