From dc8967247d149e9b0d1f8e75829928db0ea1fe13 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期日, 06 六月 2021 16:42:36 +0800
Subject: [PATCH] Merge branch 'WJC' into temp-wxr

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
index eb9d557..d40c649 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicMethod.cs
@@ -308,6 +308,7 @@
                 case SPK.SensorPir:
                 case SPK.SensorDoorWindow:
                 case SPK.SensoruUtrasonic:
+                case SPK.SenesorMegahealth:
                     {
                         strPath = "LogicIcon/sensor.png";
                     }
@@ -365,6 +366,7 @@
             || device.spk == SPK.SensorPir
             || device.spk == SPK.SensorDoorWindow
             || device.spk == SPK.SensoruUtrasonic
+            || device.spk == SPK.SenesorMegahealth
             );
             if (sensor != null)
             {
@@ -414,7 +416,8 @@
                 functionTypeList.Add(SPK.SensorPir);
                 functionTypeList.Add(SPK.SensorDoorWindow);
                 functionTypeList.Add(SPK.SensoruUtrasonic);
-              
+                functionTypeList.Add(SPK.SenesorMegahealth);
+
             }
             return functionTypeList;
 
@@ -449,6 +452,7 @@
                         deviceTypeList.Add(SPK.SensorPir);
                         deviceTypeList.Add(SPK.SensorDoorWindow);
                         deviceTypeList.Add(SPK.SensoruUtrasonic);
+                        deviceTypeList.Add(SPK.SenesorMegahealth);
                     }
                     break;
                 case target_if:

--
Gitblit v1.8.0