From c1cb2d8c6034a2ee7aa8a5710bba15b14f76cebc Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期五, 18 八月 2023 18:54:31 +0800 Subject: [PATCH] 2023年08月18日18:54:22 --- HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs b/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs index 7cb16f3..b7d21a7 100644 --- a/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs +++ b/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs @@ -78,9 +78,10 @@ } btnIcon.UnSelectedImagePath = $"FunctionIcon/Icon/{function.IconName}.png"; - if(function.spk == SPK.GroupControl) + if(function.spk == SPK.GroupControl || function.spk == SPK.CommonSeries) { - btnIcon.UnSelectedImagePath = $"FunctionIcon/Icon/lightswitch.png"; + //btnIcon.UnSelectedImagePath = $"FunctionIcon/Icon/lightswitch.png"; + btnIcon.UnSelectedImagePath = $"FunctionIcon/Icon/groupControl.png"; } if (SPK.CurtainSpkList().Contains(function.spk)) {//绐楀笜娌℃湁寮�鍏虫寜閽� @@ -199,6 +200,12 @@ { btnIcon.UnSelectedImagePath =UI2.FuntionControlView.VideoDoorLock.CommonMethod.Current.GetVideoDoorLockIcon(UI2.FuntionControlView.VideoDoorLock.CommonMethod.Comerom.function); } + else if (function.spk == SPK.AvZkAiks) + { + //闅愯棌寮�鍏虫寜閽� + btnIcon.UnSelectedImagePath = "AksIcon/aks.png"; + } + else if(function.spk == SPK.GroupControl) { } else if (function.spk == SPK.HvacCac) { var btnHumidityIcon = new Button() @@ -444,6 +451,7 @@ }; if ( !SPK.ArmSensorSpkList().Contains(function.spk) && function.spk != SPK.DoorLock + && function.spk != SPK.GroupControl && !SPK.EnvironDeviceSpkList().Contains( function.spk))//!DB_ResidenceData.Instance.CurrentRegion.isOtherShare && { bodyDiv.AddChidren(btnCollectionIcon); -- Gitblit v1.8.0