Example #1
0
 public BeamFlags(BeamFlagsParameters p)
 {
     if (p == null || p.PortName == null)
     {
         throw new ArgumentException("PortName must be defined.");
     }
     Init(p.PortName);
 }
Example #2
0
 public override void Update(BeamFlagsParameters p)
 {
     Delay = p.Delay;
 }
Example #3
0
 public static AbstractBeamFlags CreateBeamFlags(BeamFlagsParameters p)
 {
     return((AbstractBeamFlags)Activator.CreateInstance(p.Type, p));
 }