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/2-Classification/RoomPage.cs | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/RoomPage.cs b/HDL_ON/UI/UI2/2-Classification/RoomPage.cs index f19a9d6..5158ff5 100644 --- a/HDL_ON/UI/UI2/2-Classification/RoomPage.cs +++ b/HDL_ON/UI/UI2/2-Classification/RoomPage.cs @@ -62,8 +62,14 @@ { if (bodyView != null) { - bodyView.RemoveAll(); - LoadPage(); + try + { + bodyView.RemoveAll(); + LoadPage(); + }catch (Exception ex) + { + MainPage.Log($"RoomPage ReloadPage error :\r\n {ex.Message}"); + } } } @@ -95,7 +101,7 @@ functionListView.AddChidren(new Button() { Height = Application.GetRealHeight(12) }); - if (function.spk == SPK.LightRGB || function.spk == SPK.LightDimming) + if (function.spk == SPK.LightRGBW || function.spk == SPK.LightRGB || function.spk == SPK.LightDimming) { var functionDiv = new FunctionControlZone(function, null) { -- Gitblit v1.8.0