From ecbf9d722cf59efe93cf60ee47e8782eca18eca6 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期六, 19 十二月 2020 13:22:55 +0800 Subject: [PATCH] 20201219-1 --- 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