From b015403721ddff6dd737e684424793342d636e6c Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 14 七月 2023 16:03:48 +0800
Subject: [PATCH] 修改udp socket 缓冲区大小,

---
 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