From 56ad1b69f1fb2e6439e1a9ec2537ca709b575828 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 17 六月 2020 10:38:26 +0800
Subject: [PATCH] 2020-06-17-1

---
 HDL_ON/UI/UI2/2-Classification/RoomPage.cs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/RoomPage.cs b/HDL_ON/UI/UI2/2-Classification/RoomPage.cs
index 5de0c0e..5952a8d 100644
--- a/HDL_ON/UI/UI2/2-Classification/RoomPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/RoomPage.cs
@@ -43,6 +43,11 @@
 
             foreach (var function in room.functions)
             {
+                if (function.functionCategory == FunctionCategory.Sensor)
+                {
+                    continue;
+                }
+
                 functionListView.AddChidren(new Button() { Height = Application.GetRealHeight(12) });
 
                 if (function.functionType == FunctionType.RGB || function.functionType == FunctionType.Dimmer)

--
Gitblit v1.8.0