From f1532873e3029b2fb17cb84c1b9da1e2f66247c4 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 02 九月 2021 10:43:38 +0800 Subject: [PATCH] 代码合并 --- HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs index ba8453a..2653cb9 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; } @@ -969,7 +973,8 @@ btnName.TextID = StringId.EnvironmentalData; btnFunctionViewBg.MouseUpEventHandler = (sender, e) => { - var skipView = new EnvironmentalPage();// EnvironmentalSciencePage(); + //var skipView = new EnvironmentalPage();// EnvironmentalSciencePage(); + var skipView = new A_EnvironmentalDataCenter();// EnvironmentalSciencePage(); MainPage.BasePageView.AddChidren(skipView); skipView.LoadPage(); MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; -- Gitblit v1.8.0