From 1d25d355cb0efc9685a8ad5c870b5941b95ce9b8 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期二, 30 三月 2021 09:11:57 +0800 Subject: [PATCH] 1 --- HDL_ON/UI/UI2/2-Classification/RoomPage.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/RoomPage.cs b/HDL_ON/UI/UI2/2-Classification/RoomPage.cs index 09ee8a8..bcf7f24 100644 --- a/HDL_ON/UI/UI2/2-Classification/RoomPage.cs +++ b/HDL_ON/UI/UI2/2-Classification/RoomPage.cs @@ -77,14 +77,14 @@ foreach (var function in room.GetRoomFunctions(false)) { - if (function.functionCategory == FunctionCategory.Sensor) + if (function.Spk_Prefix == FunctionCategory.Sensor) { continue; } functionListView.AddChidren(new Button() { Height = Application.GetRealHeight(12) }); - if (function.functionType == FunctionType.RGB || function.functionType == FunctionType.Dimmer) + if (function.spk == SPK.LightRGB || function.spk == SPK.LightDimming) { var functionDiv = new FunctionControlZone(function) { -- Gitblit v1.8.0