From eaaa2635f9ef5e431e00df922731a54c20cf7016 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 31 七月 2023 19:41:58 +0800 Subject: [PATCH] 三相空开备份 --- HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs | 16 ++++++++++++++++ 1 files changed, 16 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..0aa879c 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/FoolHeating/FloorHeatingPageBLL.cs @@ -43,6 +43,14 @@ // bodyView.btnSwitch.IsSelected = false; // bodyView.arcBar.IsOffline = true; //} + if (bodyView.btnTemp.Text.Length > 2) + { + bodyView.btnTemp.TextSize = 44; + } + else + { + bodyView.btnTemp.TextSize = 56; + } //app鑷繁鎺у埗鐨勪笉鐢ㄦ洿鏂帮紝浼氶�犳垚璺冲姩 @@ -202,6 +210,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