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