From 25ce81434a6ce69cf10f12d4f5a25ab80a339ba7 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期三, 03 三月 2021 17:50:53 +0800
Subject: [PATCH] 2021-3-3-3
---
HDL_ON/UI/UI2/2-Classification/FunctionPage.cs | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs
index 86a1eba..91c286b 100644
--- a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs
@@ -105,6 +105,10 @@
{
functionList.AddRange(FunctionList.List.sensorsEnvironmentalScience);
}
+ else if (titleId == StringId.Sensor)
+ {
+ functionList.AddRange(FunctionList.List.sensorsArm);
+ }
functionList.OrderByDescending(o => o.controlCounter).ToList();
ShowFunctionRow(functionList);
@@ -121,7 +125,7 @@
foreach (var function in showList)
{
- 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