From 6b7a07bcbe147be7ed64994c40bcc5b0a2042aae Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 05 七月 2021 11:23:35 +0800
Subject: [PATCH] 代码合并-温居城

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

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/OnePortAutomation.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/OnePortAutomation.cs
index 4610303..37d4567 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/OnePortAutomation.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/OnePortAutomation.cs
@@ -199,7 +199,7 @@
                         ) =>
                     {
                         Logic.currlogic.name = logicName;
-                        Logic.currlogic.sid = LogicMethod.NewSid();
+                        Logic.currlogic.sid = LogicMethod.CurrLogicMethod.NewSid();
                         loading.Start();
                         new System.Threading.Thread(() =>
                         {
@@ -242,7 +242,7 @@
                                         }
 
                                         Logic.LogicList.Add(Logic.currlogic);
-                                        LogicMethod.RemoveAllView();
+                                        LogicMethod.CurrLogicMethod.RemoveAllView();
                                         MainView.MainShow();
                                     }
                                     else if (responsePackNew != null && responsePackNew.Code == "14005")
@@ -282,7 +282,7 @@
                                 loading.Hide();
                                 if (responsePackNew != null && responsePackNew.Code == "0")
                                 {
-                                    LogicMethod.RemoveAllView();
+                                    LogicMethod.CurrLogicMethod.RemoveAllView();
                                     MainView.MainShow();
                                 }
                                 else if (responsePackNew != null && responsePackNew.Code == "14005")

--
Gitblit v1.8.0