From 532759ff7c457b6f5a16386570f651eaf01aef3b Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期四, 10 十一月 2022 13:19:46 +0800 Subject: [PATCH] 2022年11月10日13:18:58 --- HDL_ON/UI/UI2/2-Classification/FunctionPage.cs | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs index f23e855..23f59f9 100644 --- a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs +++ b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs @@ -187,6 +187,25 @@ ShowFunctionRow(functionList); LoadDialog_ChangeFloor(); + + + #region 鍔犺浇缁勫悎璋冨厜鍦烘櫙 + if (titleId == StringId.Lights) + { + foreach (var lightScene in FunctionList.List.scenes) + { + if (lightScene.sceneType == SceneType.LightScene) + if (lightScene != null) + { + functionListView.AddChidren(new Button() { Height = Application.GetRealHeight(12) }); + var sceneRow = new SceneControlZone(lightScene); + functionListView.AddChidren(sceneRow); + sceneRow.LoadView(); + } + } + } + #endregion + } /// <summary> -- Gitblit v1.8.0