From 46a177eb1acf7ce91af7fe9ff57af87228de938d Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 17 十月 2023 10:03:24 +0800
Subject: [PATCH] IOS库更新

---
 HDL_ON/Entity/Function/Function.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs
index b8a2894..45b0b35 100644
--- a/HDL_ON/Entity/Function/Function.cs
+++ b/HDL_ON/Entity/Function/Function.cs
@@ -173,6 +173,13 @@
                 string iconPath = spk.Replace(".", "");
                 switch (spk)
                 {
+                    case SPK.SensorDryContact2:
+                    case SPK.OtherCommon:
+                        iconPath = "sensordryContact";
+                        break;
+                    case SPK.SensorLight:
+                        iconPath = "lightswitch";
+                        break;
                     case SPK.AirSwitchP3:
                         iconPath = "electricalbreaker";
                         break;
@@ -451,7 +458,7 @@
         public bool online {
             get
             {
-                if (spk == SPK.AirSwitchP3)
+                if (spk == SPK.AirSwitchP3|| spk == SPK.ElectricalTvHisense)
                 {
                     return _online;
                 }

--
Gitblit v1.8.0