From 46a03f3b19b39cfa6e00b7af41c1ef90ae812e26 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 10 七月 2023 16:47:46 +0800 Subject: [PATCH] Update HdlEzvizDroid.dll --- 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