From fdbcb1f7463cb766f90bd29dd715485ba9d88524 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 06 九月 2023 17:55:03 +0800 Subject: [PATCH] Merge branch 'wxr-2.0' into Dev-Branch --- HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs index 54bcda7..62dc7d0 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs @@ -79,13 +79,13 @@ if (sceneFunction.localFunction.spk == SPK.LightRGB || sceneFunction.localFunction.spk == SPK.GroupControl) { - //var colorfulStatus = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.Colorful); - //if (colorfulStatus != null) - //{ - // isColorful = true; - // LoadColorfulRow(colorfulStatus); - // isColorful = colorfulStatus.value == "on"; - //} + var colorfulStatus = sceneFunction.status.Find((obj) => obj.key == FunctionAttributeKey.Colorful); + if (colorfulStatus != null) + { + isColorful = true; + LoadColorfulRow(colorfulStatus); + isColorful = colorfulStatus.value == "on"; + } } foreach (var attr in sceneFunction.status) { @@ -555,7 +555,7 @@ { btnFunctionText.Text = song.name; sceneStatus.value = song.name; - //杩藉姞鎺у埗灞炴�� + //杩藉姞灞炴�� var oldList = new List<SceneFunctionStatus>(); for (int i = 0; i < sceneFunction.status.Count; i++) { @@ -568,7 +568,7 @@ } else if (status.key == FunctionAttributeKey.Url) { - //瀛樺湪url灏变竴璧峰彂閫佽繃鍘� + //瀛樺湪url灏变竴璧峰彂杩囧幓 if (!string.IsNullOrEmpty(song.url)) { //鎺у埗闇�瑕侊紙鐣岄潰涓嶉渶瑕佹樉绀猴級 -- Gitblit v1.8.0