From aa1eb6c809ef1e0e050bfeac53e9f2ea4f11330c Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 18 十二月 2020 21:00:48 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev-tzy' into NewFilePath --- HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs index 54e1cea..091d098 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs @@ -29,6 +29,14 @@ { bodyView.arcBar.Progress = Convert.ToInt32(Convert.ToDouble(uFh.trait_temp.curValue)); } + if(uFh.trait_on_off.curValue.ToString() == "on") + { + bodyView.arcBar.Enable = true; + } + else + { + bodyView.arcBar.Enable = false; + } }); } catch (Exception ex) @@ -153,7 +161,7 @@ fh.modeTemp.TryGetValue(curMode, out pro); arcBar.Progress = pro; System.Collections.Generic.Dictionary<string, string> d = new System.Collections.Generic.Dictionary<string, string>(); - d.Add(FunctionAttributeKey.Mode, fh.curModeIndex.ToString()); + d.Add(FunctionAttributeKey.Mode, fh.trait_mode.curValue.ToString()); Control.Ins.SendWriteCommand(fh, d); dialog.Close(); }; -- Gitblit v1.8.0