From dc6b96a219645c1125de6d6bb5e94d61cf167be1 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期六, 21 八月 2021 17:37:53 +0800
Subject: [PATCH] 2021-8-21-1

---
 HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
index ba8453a..890573b 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
@@ -702,6 +702,9 @@
                         break;
                     case ShowFunction.Music:
                         functionCount = FunctionList.List.GetMusicList().Count;
+#if DEBUG
+                        functionCount = 1;
+#endif
                         break;
                     case ShowFunction.Panel:
                         break;
@@ -722,9 +725,10 @@
                         break;
                     case ShowFunction.SecurityCenter:
                         functionCount = FunctionList.List.securities.Count;
-#if DEBUG
-                        functionCount = 1;
-#endif
+                        if (DB_ResidenceData.Instance.GatewayType == 1)
+                        {
+                            functionCount = 1;
+                        }
                         break;
 
                 }

--
Gitblit v1.8.0