From 002a3f2e9d2f9579c01f88af12bd8a320003569f Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 31 三月 2020 08:57:19 +0800 Subject: [PATCH] 20200331 --- 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 4881199..4fb83cf 100644 --- a/HDL_ON/UI/UI2/2-Classification/RoomPage.cs +++ b/HDL_ON/UI/UI2/2-Classification/RoomPage.cs @@ -42,11 +42,11 @@ bodyView.AddChidren(functionListView); - foreach (var function in room.functionData) + foreach (var function in room.functions) { functionListView.AddChidren(new Button() { Height = Application.GetRealHeight(12) }); - if (function.functionType == "RGB" || function.functionType == "Dimmer") + if (function.functionType == FunctionType.RGB || function.functionType == FunctionType.Dimmer) { var functionDiv = new FunctionControlZone(function) { -- Gitblit v1.8.0