From 7e94d0d0dcb7eae298d0bbb4221c970037448c9f Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 02 十一月 2023 16:22:52 +0800
Subject: [PATCH] 修复首次登录mqtt无法订阅的问题

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

diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs
index 45b0b35..011c185 100644
--- a/HDL_ON/Entity/Function/Function.cs
+++ b/HDL_ON/Entity/Function/Function.cs
@@ -177,9 +177,9 @@
                     case SPK.OtherCommon:
                         iconPath = "sensordryContact";
                         break;
-                    case SPK.SensorLight:
-                        iconPath = "lightswitch";
-                        break;
+                    //case SPK.SensorLight:
+                    //    iconPath = "lightswitch";
+                    //    break;
                     case SPK.AirSwitchP3:
                         iconPath = "electricalbreaker";
                         break;
@@ -1494,6 +1494,10 @@
         public const string Temperature = "temperature";
         public const string Hcho = "hcho";
         public const string Humidity = "humidity";
+        /// <summary>
+        /// 鐓у害
+        /// </summary>
+        public const string Illuminance = "illuminance";
         public const string Pm25 = "pm25";
         public const string Tvoc = "tvoc";
         /// <summary>

--
Gitblit v1.8.0