From 0131f1fdda0189508264f540d600b46f40411d30 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 07 六月 2023 15:57:25 +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