From 6a8eb1ce9d8e34c50164a4e24e7098e681ee08b6 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 06 十一月 2023 15:08:06 +0800
Subject: [PATCH] 国际化支持:场景增加自动化使能配置

---
 HDL_ON/Entity/Function/Sensor.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/Entity/Function/Sensor.cs b/HDL_ON/Entity/Function/Sensor.cs
index b53b38a..b363c9f 100644
--- a/HDL_ON/Entity/Function/Sensor.cs
+++ b/HDL_ON/Entity/Function/Sensor.cs
@@ -90,10 +90,10 @@
         /// </summary>
         public List<string> GetIntervalValue(string spk)
         {
-            if(_intervalValue.Count != 0)
-            {
-                return _intervalValue;
-            }
+            //if (_intervalValue.Count != 0)
+            //{
+            //    return _intervalValue;
+            //}
             _intervalValue = new List<string>();
             switch (spk)
             {
@@ -159,7 +159,7 @@
             switch (function.spk)
             {
                 case SPK.SensorPm25:
-                    unit = "ug/m虏";
+                    unit = "ug/m鲁";
                     break;
                 case SPK.SensorTemperature:
                     unit = "掳C";

--
Gitblit v1.8.0