From 3a662a08e1c54c9a5687a43a8133c8e42981f474 Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期二, 31 三月 2020 14:30:23 +0800
Subject: [PATCH] 2020-03-31-1

---
 ZigbeeApp/Shared/Phone/Device/Logic/Method.cs |   15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/Method.cs b/ZigbeeApp/Shared/Phone/Device/Logic/Method.cs
index 559e42f..c76b30c 100644
--- a/ZigbeeApp/Shared/Phone/Device/Logic/Method.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/Method.cs
@@ -757,7 +757,17 @@
                 {
                     succeed = true;
                     CurrentLogic.LogicId = logicifon.LogicId;
-                    Common.Logic.LogicList.Add(CurrentLogic);
+                    if (LogicView.IfString._LockLogic == if_logic)
+                    {
+                        //闂ㄩ攣鑱斿姩浜嬩欢閫昏緫鍒楄〃
+                        Common.Logic.LockLogicList.Add(CurrentLogic);
+                    }
+                    else
+                    {
+                        //鑷姩鍖栭�昏緫鍒楄〃
+                        Common.Logic.LogicList.Add(CurrentLogic);
+
+                    }
                     if (tag)
                     {
                         Send.Zj(tag, CurrentLogic);
@@ -826,6 +836,7 @@
             deviceTarget.Show(str1, str2);
         }
 
-       
+        
+
     }
 }

--
Gitblit v1.8.0