From 39cf2411b59772d56ee731f229f09ff472889bad Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期四, 22 九月 2022 15:12:04 +0800
Subject: [PATCH] Merge branch 'Dev-Branch' into hxb

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

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/AirQuality.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/AirQuality.cs
index 92d1584..093a2d2 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/AirQuality.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/AirQuality.cs
@@ -81,13 +81,13 @@
         private void AddDic(string value)
         {
             Input input = new Input();
-            input.sid = LogicMethod.CurrLogicMethod.NewSid();
+            input.sid = LogicMethod.Current.NewSid();
             input.condition_type = "6";
             Dictionary<string, string> dic = new Dictionary<string, string>();
-            LogicMethod.CurrLogicMethod.dictionary(dic, "key", "airquality");
-            LogicMethod.CurrLogicMethod.dictionary(dic, "comparator", "=");
-            LogicMethod.CurrLogicMethod.dictionary(dic, "data_type", "string");
-            LogicMethod.CurrLogicMethod.dictionary(dic, "value", value);
+            LogicMethod.Current.dictionary(dic, "key", "airquality");
+            LogicMethod.Current.dictionary(dic, "comparator", "=");
+            LogicMethod.Current.dictionary(dic, "data_type", "string");
+            LogicMethod.Current.dictionary(dic, "value", value);
             input.condition.Add(dic);
             AddCondition(input, "airquality" ,"=");
         }
@@ -125,7 +125,7 @@
                 Logic.currlogic.input.Add(input);
             }
 
-            LogicMethod.CurrLogicMethod.RemoveAllView();
+            LogicMethod.Current.RemoveAllView();
             AddLogic addLogic = new AddLogic();
             MainPage.BasePageView.AddChidren(addLogic);
             addLogic.Show();

--
Gitblit v1.8.0