From 505effa88b17ce8c3c7ac5403b76d9e5d0cfc2a5 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期一, 28 十月 2024 11:58:31 +0800 Subject: [PATCH] 谷歌版本问题修复 --- HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs index 22bad8a..9db7d82 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs @@ -455,6 +455,7 @@ break; case SPK.AcStandard: case SPK.HvacAC: + case SPK.HvacAcPanel: case SPK.AcIr: { #region 鐣岄潰 @@ -492,6 +493,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 +510,7 @@ string set_temp_value = stateStr.Replace(unit, ""); //鏁版嵁灏佽 AddDictionary(keyVlaue, set_temp_value); - }, min, max, unit); + }, min, max, unit, setTempAttr.step); }; ///妯″紡鐐瑰嚮浜嬩欢 @@ -562,7 +564,7 @@ } break; case SPK.FloorHeatStandard: - case SPK.HvacFloorHeat: + case SPK.HvacFloorHeat:case SPK.HvacFloorHeatPanel: { #region 鐣岄潰 ///寮�鍏� @@ -586,6 +588,7 @@ DelayView(fLayout, floorHeatingModehView.frameLayout.Bottom); #endregion #region 鐐瑰嚮浜嬩欢 + var setTempAttr = device.GetAttribute(FunctionAttributeKey.SetTemp); ///寮�鍏崇偣鍑讳簨浠� floorHeatingSwitchVie.btnClick.MouseUpEventHandler += (sender, e) => { @@ -611,7 +614,7 @@ //鏁版嵁灏佽 AddDictionary(keyVlaue, set_temp_value); - }, min, max, unit); + }, min, max, unit, setTempAttr.step); }; ///妯″紡鐐瑰嚮浜嬩欢 @@ -908,9 +911,10 @@ } case SPK.HvacAC: case SPK.AcIr: + case SPK.HvacAcPanel: case SPK.AcStandard: case SPK.FloorHeatStandard: - case SPK.HvacFloorHeat: + case SPK.HvacFloorHeat:case SPK.HvacFloorHeatPanel: { //鍋氫簡涓�涓壒娈婂鐞嗭紱 bool _bool = false; -- Gitblit v1.8.0