From 2e12a9190f431565e576d0b05866366d15bcc9ae Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 23 六月 2022 11:07:37 +0800 Subject: [PATCH] 修复场景闪退问题 --- HDL_ON/UI/UI2/2-Classification/FunctionPage.cs | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs index 3db5ac0..624ea5d 100644 --- a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs +++ b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs @@ -37,6 +37,7 @@ public void LoadPage(int titleId) { + bodyView.BackgroundColor = CSS_Color.BackgroundColor; if (titleId == StringId.Lights) { @@ -65,6 +66,13 @@ { new TopViewDiv(bodyView, Language.StringByID(titleId)).LoadTopView(); } + + + +#if DEBUG + +#endif + /// <summary> /// 鎴块棿鍐呭鏄剧ず鍖哄煙 /// </summary> @@ -106,6 +114,7 @@ }; bodyView.AddChidren(functionListView); + //Tag 鏄剧ず鍒楄〃 if (titleId == StringId.Lights) { functionList.AddRange(FunctionList.List.GetLightList()); @@ -149,6 +158,10 @@ { functionList.AddRange(FunctionList.List.GetAirFreshList()); } + else if (titleId == StringId.SmartPanel) + { + functionList.AddRange(FunctionList.List.GetPanelList()); + } functionList.OrderByDescending(o => o.controlCounter).ToList(); ShowFunctionRow(functionList); -- Gitblit v1.8.0