From cd4189a3f0e3896a37f2307d842af6c8ee4dc0ec Mon Sep 17 00:00:00 2001 From: hxb <hxb@hdlchina.com.cn> Date: 星期三, 14 六月 2023 13:20:53 +0800 Subject: [PATCH] 调整日志库 --- HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs index a7a9b3e..9543bc9 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs @@ -202,6 +202,14 @@ { function.SetAttrState(FunctionAttributeKey.SetTemp, e); btnTemp.Text = Convert.ToDouble(function.GetAttrState(FunctionAttributeKey.SetTemp).Replace(",", ".")).ToString(); + if (btnTemp.Text.Length > 2) + { + btnTemp.TextSize = 44; + } + else + { + btnTemp.TextSize = 56; + } }; } /// <summary> -- Gitblit v1.8.0