From cd4189a3f0e3896a37f2307d842af6c8ee4dc0ec Mon Sep 17 00:00:00 2001 From: hxb <hxb@hdlchina.com.cn> Date: 星期三, 14 六月 2023 13:20:53 +0800 Subject: [PATCH] 调整日志库 --- HDL_ON/Entity/Function/Scene.cs | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/HDL_ON/Entity/Function/Scene.cs b/HDL_ON/Entity/Function/Scene.cs index a6b5568..48fa113 100644 --- a/HDL_ON/Entity/Function/Scene.cs +++ b/HDL_ON/Entity/Function/Scene.cs @@ -624,7 +624,7 @@ var perAngle = status.Find((obj) => obj.key == FunctionAttributeKey.Angle); if (perAngle != null) { - sceneFunctionInfo += " " + perState.value + "掳"; + sceneFunctionInfo += " " + perAngle.value + "掳"; } return sceneFunctionInfo; } @@ -699,18 +699,19 @@ return text; } + public string UintString = ""; /// <summary> /// 灞炴�у�煎崟浣� /// </summary> - public string GetUintString(string inputKey = "") + public string GetUintString() { + if (!string.IsNullOrEmpty(UintString)) + { + return UintString; + } var us = ""; var swithchString = key; - if (!string.IsNullOrEmpty(inputKey)) - { - swithchString = inputKey; - } switch (swithchString) { case FunctionAttributeKey.SetTemp: -- Gitblit v1.8.0