From f9181a9c8125136f597add7c30cb2ff508d54ba7 Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期四, 25 七月 2024 17:34:32 +0800
Subject: [PATCH] 2024年07月25日17:33:40

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/Time3.cs |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Time3.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/Time3.cs
index 3ace301..a3a29a2 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Time3.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/Time3.cs
@@ -123,7 +123,14 @@
                                     }
                                     else
                                     {
-                                        s = value + " min";
+                                        if (Language.CurrentLanguage == "Ukraine")
+                                        {
+                                            s = value + " 褏胁";
+                                        }
+                                        else
+                                        {
+                                            s = value + " min";
+                                        }
                                     }
                                 }
                                 //鏇存柊鍊約tateValue
@@ -222,13 +229,13 @@
         private void AddDic(string keyValue, string value, bool edit, int index)
         {
             Input inputTime = new Input();
-            inputTime.sid = LogicMethod.CurrLogicMethod.NewSid();
+            inputTime.sid = LogicMethod.Current.NewSid();
             inputTime.condition_type = "1";
             Dictionary<string, string> dic = new Dictionary<string, string>();
-            LogicMethod.CurrLogicMethod.dictionary(dic, "key", keyValue);
-            LogicMethod.CurrLogicMethod.dictionary(dic, "comparator", "=");
-            LogicMethod.CurrLogicMethod.dictionary(dic, "data_type", "string");
-            LogicMethod.CurrLogicMethod.dictionary(dic, "value", value);
+            LogicMethod.Current.dictionary(dic, "key", keyValue);
+            LogicMethod.Current.dictionary(dic, "comparator", "=");
+            LogicMethod.Current.dictionary(dic, "data_type", "string");
+            LogicMethod.Current.dictionary(dic, "value", value);
             inputTime.condition.Add(dic);
             AddCondition(inputTime, edit, index);
         }
@@ -250,7 +257,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