From a56a485926a8927f904d7f4795c371c25b35753a Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 22 十二月 2020 18:18:15 +0800 Subject: [PATCH] Merge branch 'WJC' into NewFilePath --- 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