From 0d1b995a55d2c9a049550b28f72ca0265ca588f0 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期四, 04 三月 2021 19:49:58 +0800 Subject: [PATCH] 2021-3-4-2 --- 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