From 263401d40b2d9d2c1b36a24f33d45c5cb7192518 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 23 十二月 2020 15:51:54 +0800 Subject: [PATCH] 20201223-6 --- HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs index eacbce9..6f47b62 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs @@ -68,7 +68,7 @@ btnCollection.MouseUpEventHandler += (sender, e) => { btnCollection.IsSelected = fh.collect = btnCollection_Out.IsSelected = !btnCollection.IsSelected; - fh.SaveFunctionData(true); + fh.CollectFunction(); }; } @@ -79,6 +79,11 @@ { btnMinus.MouseUpEventHandler = (sender, e) => { + if(fh.trait_on_off.curValue.ToString() == "off") + { + return; + } + var temp = Convert.ToInt32(fh.trait_temp.curValue); if (temp < Convert.ToInt32(fh.trait_temp.min)) { @@ -94,6 +99,10 @@ }; btnPlus.MouseUpEventHandler = (sender, e) => { + if (fh.trait_on_off.curValue.ToString() == "off") + { + return; + } var temp = Convert.ToInt32(fh.trait_temp.curValue); if (temp > Convert.ToInt32(fh.trait_temp.max)) { @@ -130,6 +139,10 @@ { btnMode.MouseUpEventHandler = (sender, e) => { + if (fh.trait_on_off.curValue.ToString() == "off") + { + return; + } LoadDiv_ChangeModeView(); }; -- Gitblit v1.8.0