| | |
| | | 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 |
| | | }; |
| | | } |
| | | |
| | |
| | | |
| | | 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> { |
| | |
| | | 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 |
| | | }; |
| | | } |
| | | } |