From d9feb1d52963982a89a6e6d741a9b841042ce0b6 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 22 七月 2022 17:22:41 +0800 Subject: [PATCH] 毫米波传感器,温控一体化 --- HDL_ON/Entity/Function/Scene.cs | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/HDL_ON/Entity/Function/Scene.cs b/HDL_ON/Entity/Function/Scene.cs index 2f2d49c..e5abff0 100644 --- a/HDL_ON/Entity/Function/Scene.cs +++ b/HDL_ON/Entity/Function/Scene.cs @@ -522,6 +522,13 @@ { //sceneFunctionInfo += new cctState.value + "%" + " "; } + + + var perAngle = status.Find((obj) => obj.key == FunctionAttributeKey.Angle); + if (perAngle != null) + { + sceneFunctionInfo += " " + perState.value + "掳"; + } return sceneFunctionInfo; } @@ -617,6 +624,9 @@ case FunctionAttributeKey.CCT: us = "K"; break; + case FunctionAttributeKey.Angle: + us = "掳"; + break; } return us; } @@ -643,6 +653,7 @@ case FunctionAttributeKey.RoomTemp: case FunctionAttributeKey.Brightness: case FunctionAttributeKey.Percent: + case FunctionAttributeKey.Angle: int outT = 0; int.TryParse(catchString,out outT); if (outT < 0) -- Gitblit v1.8.0