From 6d3ba9484472d090532434e53667c096652149ce Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 25 九月 2020 09:56:14 +0800 Subject: [PATCH] 202009251 --- HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/SetSceneFunctionInfoPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs similarity index 99% rename from HDL_ON/UI/UI2/3-Intelligence/SetSceneFunctionInfoPage.cs rename to HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs index 78bd49c..73186cb 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/SetSceneFunctionInfoPage.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneFunctionInfoPage.cs @@ -44,12 +44,12 @@ switch (function.functionType) { case FunctionType.AC: - LoadFunctionRow(function.function.Find((obj) => obj.name == "temperature")); + LoadFunctionRow(function.function.Find((obj) => obj.name == "set_temperature")); LoadFunctionRow(function.function.Find((obj) => obj.name == "mode")); LoadFunctionRow(function.function.Find((obj) => obj.name == "fan")); break; case FunctionType.FloorHeating: - LoadFunctionRow(function.function.Find((obj) => obj.name == "temperature")); + LoadFunctionRow(function.function.Find((obj) => obj.name == "set_temperature")); LoadFunctionRow(function.function.Find((obj) => obj.name == "mode")); break; case FunctionType.Curtain: @@ -178,7 +178,7 @@ case "fan": LoadEditDialog_FunctionPar(trait, btnFunctionText); break; - case "temperature": + case "set_temperature": LoadEditDialog_Temp(trait, btnFunctionText); break; case "delay": @@ -489,6 +489,7 @@ btnConfrim.MouseUpEventHandler = (sender, e) => { dialog.Close(); btn.Text = selectItem; + trait.value = selectItem.Replace(trait.uintString,""); }; } -- Gitblit v1.8.0