From 24262d16a0d6e3b7d07486d03ab77e607e1847c3 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期一, 21 十二月 2020 14:22:26 +0800
Subject: [PATCH] 增加获取Bug列表的功能

---
 HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs |   16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs
old mode 100755
new mode 100644
index d317393..f08c953
--- a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs
@@ -538,37 +538,33 @@
                         return Language.StringByID(StringId.Close);
                 }
             }
-
-            if (sceneFunction.status.Count == 1)
-            {
-                return sceneFunctionInfo += Language.StringByID(StringId.Open);
-            }
+            sceneFunctionInfo += Language.StringByID(StringId.Open) + " ";
 
             var modeState = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.Mode);
             var tempState = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.SetTemp);
             var fanState = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.FanSpeed);
             if (modeState != null)
             {
-                sceneFunctionInfo += FunctionList.List.GetValueText(modeState.key, modeState.value);
+                sceneFunctionInfo += FunctionList.List.GetValueText(modeState.key, modeState.value) + " ";
             }
             if (tempState != null)
             {
-                sceneFunctionInfo += FunctionList.List.GetValueText(tempState.key, tempState.value);
+                sceneFunctionInfo += FunctionList.List.GetValueText(tempState.key, tempState.value) + " ";
                 sceneFunctionInfo += FunctionList.List.GetUintString(tempState.key);
             }
             if (fanState != null)
             {
-                sceneFunctionInfo += FunctionList.List.GetValueText(fanState.key, fanState.value);
+                sceneFunctionInfo += FunctionList.List.GetValueText(fanState.key, fanState.value) + " ";
             }
             var briState = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.Brightness);
             if (briState != null)
             {
-                sceneFunctionInfo += Language.StringByID(StringId.Open) + " " + briState.value + "%";
+                sceneFunctionInfo += briState.value + "%";
             }
             var perState = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.Percent);
             if (perState != null)
             {
-                sceneFunctionInfo += Language.StringByID(StringId.Open) + " " + perState.value + "%";
+                sceneFunctionInfo += perState.value + "%";
             }
             return sceneFunctionInfo;
         }

--
Gitblit v1.8.0