示例#1
0
 public TriggerNEdgeCommands(IProtocolCommand parent) : base(parent)
 {
     Source = new TriggerSourceCommand(this);
     Slope  = new TriggerSlopeCommand(this)
     {
         Options = new StringOptions {
             new StringOption("POSitive", "POS"),
             new StringOption("NEGative", "NEG"),
         }
     };
     Idle = new TriggerTimeCommand(this)
     {
         Name    = "IDLE",
         Term    = "IDLE",
         Options = new RealOptions
         {
             new RealOption(16 * SI.n, 10)
         }
     };
     Edge = new ProtocolCommand(this)
     {
         Name    = "EDGE",
         Term    = "EDGE",
         Options = new IntegerOptions {
             new IntegerOption(1, 65535)
         }
     };
     Level = new TriggerLevelCommand(this);
 }
示例#2
0
 public TriggerEdgeCommands(IProtocolCommand parent) : base(parent)
 {
     Source = new TriggerSourceCommand(this)
     {
         Description = "The trigger source in edge trigger",
     };
     Slope = new TriggerSlopeCommand(this);
     Level = new TriggerLevelCommand(this);
 }
示例#3
0
        public TriggerTimeoutCommands(IProtocolCommand parent) : base(parent)
        {
            Source = new TriggerSourceCommand(this);

            Slope = new TriggerSlopeCommand(this);

            Time = new ProtocolCommand(this)
            {
                Name    = "TIMe",
                Term    = "TIM",
                Options = new RealOptions(16 * SI.n, 10),
            };
        }