From d1b72117058f1131046b6aa3add8e3ccfae033d8 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 09 十一月 2026 10:36:07 +0800
Subject: [PATCH] docs: CAN 模拟器独立 TCP 服务进程设计规格(统一 CanDeviceDriver + 双工推送协议)
---
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