From 1b56157e8edc3f502810820d99b607e3629c7171 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期三, 19 七月 2023 09:42:00 +0800
Subject: [PATCH] Merge branch 'Dev-Branch' into wjc

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

diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
index 0c52ed6..49647e1 100644
--- a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
@@ -117,6 +117,11 @@
             bodyView.BackgroundColor = CSS_Color.BackgroundColor;
 
             this.VerticalScrollBarEnabled = false;
+
+#if DEBUG
+            DB_ResidenceData.Instance.HomeGateway.isSupportGroupControl = true;
+#endif
+
 #if __IOS__
             //鑷姩鍋忕Щ鍙栨秷
             if (UIKit.UIDevice.CurrentDevice.CheckSystemVersion(11, 0))
@@ -1218,11 +1223,11 @@
                     btnIcon.UnSelectedImagePath = UI2.FuntionControlView.VideoDoorLock.CommonMethod.Current.GetVideoDoorLockIcon(UI2.FuntionControlView.VideoDoorLock.CommonMethod.Comerom.collect);
                     //btnIcon.SelectedImagePath = $"FunctionIcon/Icon/HomeIcon/{function.IconName}_blue.png";
                 }
-                else if (function.spk == SPK.GroupControl)
-                {
-                    btnIcon.UnSelectedImagePath = $"FunctionIcon/Icon/HomeIcon/lightswitch_blue.png";
-                    btnIcon.SelectedImagePath = $"FunctionIcon/Icon/HomeIcon/lightswitch_white.png";
-                }
+                //else if (function.spk == SPK.GroupControl)
+                //{
+                //    btnIcon.UnSelectedImagePath = $"FunctionIcon/Icon/HomeIcon/lightswitch_blue.png";
+                //    btnIcon.SelectedImagePath = $"FunctionIcon/Icon/HomeIcon/lightswitch_white.png";
+                //}
                 else
                 {
                     Button btnSwitch;

--
Gitblit v1.8.0