From c4a3f8db90530a727ffab77c3bb5bb7d782792bf Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 25 八月 2025 15:50:27 +0800
Subject: [PATCH] 上传代码;

---
 Plugin.SeqEditor/Util/ItemData.cs |   61 +++++++++++++++++++++++++++---
 1 files changed, 55 insertions(+), 6 deletions(-)

diff --git a/Plugin.SeqEditor/Util/ItemData.cs b/Plugin.SeqEditor/Util/ItemData.cs
index 3b81e9c..29c5b7b 100644
--- a/Plugin.SeqEditor/Util/ItemData.cs
+++ b/Plugin.SeqEditor/Util/ItemData.cs
@@ -50,12 +50,12 @@
         public static readonly ItemData NumValTest =
             new(LangUtil.Get("Numeric Limit Test"), "NumericLimitTest");
 
-        public static readonly ItemData RECS =
+        public static readonly ItemData SequenceCall =
             new(LangUtil.Get("SequenceCall"), "SequenceCall");
 
         public static readonly List<ItemData> ItemSource =
             new List<ItemData> {
-                Wait,Action,StrValTest,//RECS,REIC
+                Wait,Action,StrValTest,NumValTest,//RECS,REIC
             };
     }
 
@@ -107,17 +107,18 @@
 
     public abstract class RunModeData
     {
+        //LangUtil.Get("se.normal")
         public static readonly ItemData Normal =
-            new(LangUtil.Get("se.normal"), "Normal");
+            new("Normal", "Normal");
 
         public static readonly ItemData Skip =
-            new(LangUtil.Get("se.skip"), "Skip");
+            new("Skip", "Skip");
 
         public static readonly ItemData ForcePass =
-            new(LangUtil.Get("se.pass"), "Pass");
+            new("Pass", "Pass");
 
         public static readonly ItemData ForceFail =
-            new(LangUtil.Get("se.fail"), "Fail");
+            new("Fail", "Fail");
 
         public static readonly List<ItemData> ItemSource =
             new List<ItemData> {
@@ -144,4 +145,52 @@
                 LabView,LabWindows,CCPlus,DotNet,ActiveX,None,LabViewNGX,Python,SequenceCall
             };
     }
+
+    public abstract class LoopTypeData
+    {
+        public static readonly ItemData None =
+            new("鏃�", "NoLooping");
+        public static readonly ItemData Fixed =
+            new("鍥哄畾娆℃暟寰幆", "FixedNumLoops");
+        public static readonly ItemData PassFailCount =
+            new("PassFailCount", "PassFailCount");
+
+        public static readonly ItemData Custom =
+            new("鑷畾涔�", "Custom");
+
+        public static readonly List<ItemData> ItemSource =
+            new List<ItemData> {
+                None,Fixed,PassFailCount
+            };
+    }
+
+    public abstract class LoopConditionData
+    {
+        public static readonly ItemData LT =
+            new("<", "<");
+        public static readonly ItemData LE =
+            new("<=", "<=");
+        public static readonly ItemData GT =
+            new(">", ">");
+
+        public static readonly ItemData GE =
+            new(">=", ">=");
+
+        public static readonly List<ItemData> ItemSource =
+            new List<ItemData> {
+                LT,LE, GT, GE
+            };
+    }
+
+    public abstract class LoopCondition2Data
+    {
+        public static readonly ItemData PASS =
+            new("pass", "pass");
+        public static readonly ItemData FAIL =
+            new("fail", "fail");
+        public static readonly List<ItemData> ItemSource =
+            new List<ItemData> {
+                PASS,FAIL
+            };
+    }
 }

--
Gitblit v1.9.1