From 9c4967cd8843ac7ed65ee64195bcf69c592c4a20 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 07 六月 2023 15:57:36 +0800 Subject: [PATCH] Merge branch 'Dev-Branch' into Dev-Wxr-1.8.1 --- HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs index 014f3bb..430bd42 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs @@ -1170,8 +1170,8 @@ if (set_temp != "") { - - stateStr += set_temp + "鈩�,"; + string unit = device.GetAttribute("temperature_type") == null ? "掳" : device.GetAttribute("temperature_type").state; + stateStr += set_temp + unit+","; } if (mode != "") @@ -1268,8 +1268,8 @@ } if (set_temp != "") { - - stateStr += set_temp + "鈩�,"; + string unit = device.GetAttribute("temperature_type") == null ? "掳" : device.GetAttribute("temperature_type").state; + stateStr += set_temp + unit + ","; } if (mode != "") { -- Gitblit v1.8.0