From 1b5ec1190a27ebe66f74ca9513020f805d3ec61c Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期二, 22 十二月 2020 13:54:19 +0800 Subject: [PATCH] 2021221-2 --- HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs index eacbce9..95ab2fa 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs @@ -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