From eeb6f0b4bf0a81834325638401d5fa404e53db93 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期四, 05 九月 2024 19:41:45 +0800 Subject: [PATCH] 金茂光伏储能,热水器;自动化,空调,地暖步进判断 --- HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs index 0cce40f..5726502 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs @@ -492,6 +492,7 @@ int min = device.GetAttribute("set_temp") == null ? 16 : device.GetAttribute("set_temp").min; int max = device.GetAttribute("set_temp") == null ? 32 : device.GetAttribute("set_temp").max; string unit = InpOrOutLogicMethod.Current.GetTemperatureUnit(device); + var setTempAttr = device.GetAttribute(FunctionAttributeKey.SetTemp); ///娓╁害鐐瑰嚮浜嬩欢 temperatureView.btnClick.MouseUpEventHandler += (sender, e) => { @@ -508,7 +509,7 @@ string set_temp_value = stateStr.Replace(unit, ""); //鏁版嵁灏佽 AddDictionary(keyVlaue, set_temp_value); - }, min, max, unit); + }, min, max, unit, setTempAttr.step); }; ///妯″紡鐐瑰嚮浜嬩欢 @@ -586,6 +587,7 @@ DelayView(fLayout, floorHeatingModehView.frameLayout.Bottom); #endregion #region 鐐瑰嚮浜嬩欢 + var setTempAttr = device.GetAttribute(FunctionAttributeKey.SetTemp); ///寮�鍏崇偣鍑讳簨浠� floorHeatingSwitchVie.btnClick.MouseUpEventHandler += (sender, e) => { @@ -611,7 +613,7 @@ //鏁版嵁灏佽 AddDictionary(keyVlaue, set_temp_value); - }, min, max, unit); + }, min, max, unit, setTempAttr.step); }; ///妯″紡鐐瑰嚮浜嬩欢 -- Gitblit v1.8.0