Example #1
0
 public NotchedThrottleCommand(CommandLog log, bool toState) : base(log, toState)
 {
     Redo();
 }
Example #2
0
 public ContinuousFiringRateCommand(CommandLog log, bool toState, float?target, double startTime)
     : base(log, toState, target, startTime)
 {
     Redo();
 }
Example #3
0
 public FireShovelfullCommand(CommandLog log)
     : base(log)
 {
     Redo();
 }
Example #4
0
 public BooleanCommand(CommandLog log, bool toState)
     : base(log)
 {
     ToState = toState;
 }
Example #5
0
 public ToggleInjectorCommand(CommandLog log, int injector)
     : base(log)
 {
     this.injector = injector;
     Redo();
 }
Example #6
0
 public ToggleWipersCommand(CommandLog log)
     : base(log)
 {
     Redo();
 }
Example #7
0
 public ToggleMirrorsCommand(CommandLog log)
     : base(log)
 {
     Redo();
 }
Example #8
0
 public WagonHandbrakeCommand(CommandLog log, MSTSWagon car, bool toState)
     : base(log, toState)
 {
     Receiver = car;
     Redo();
 }
Example #9
0
 public RetainersCommand(CommandLog log, bool toState)
     : base(log, toState)
 {
     Redo();
 }
Example #10
0
 public BailOffCommand(CommandLog log, bool toState)
     : base(log, toState)
 {
     Redo();
 }
Example #11
0
 public HandbrakeCommand(CommandLog log, bool toState)
     : base(log, toState)
 {
     Redo();
 }
Example #12
0
 public EmergencyPushButtonCommand(CommandLog log)
     : base(log)
 {
     Redo();
 }
Example #13
0
 public InitializeBrakesCommand(CommandLog log)
     : base(log)
 {
     Redo();
 }
Example #14
0
 public DynamicBrakeCommand(CommandLog log, bool toState, float?target, double startTime)
     : base(log, toState, target, startTime)
 {
     Redo();
 }
Example #15
0
 public ToggleCabLightCommand(CommandLog log)
     : base(log)
 {
     Redo();
 }
Example #16
0
 public BrakeHoseConnectCommand(CommandLog log, bool toState)
     : base(log, toState)
 {
     Redo();
 }
Example #17
0
 public HeadlightCommand(CommandLog log, bool toState)
     : base(log, toState)
 {
     Redo();
 }
Example #18
0
 public WagonBrakeHoseConnectCommand(CommandLog log, MSTSWagon car, bool toState)
     : base(log, toState)
 {
     Receiver = car;
     Redo();
 }
Example #19
0
 public ToggleDoorsRightCommand(CommandLog log)
     : base(log)
 {
     Redo();
 }
Example #20
0
 public ToggleAngleCockBCommand(CommandLog log, MSTSWagon car, bool toState)
     : base(log, toState)
 {
     Receiver = car;
     Redo();
 }
Example #21
0
 public ContinuousSteamHeatCommand(CommandLog log, int injector, bool toState, float?target, double startTime)
     : base(log, toState, target, startTime)
 {
     Redo();
 }
Example #22
0
 public ToggleBleedOffValveCommand(CommandLog log, MSTSWagon car, bool toState)
     : base(log, toState)
 {
     Receiver = car;
     Redo();
 }
Example #23
0
 public ContinuousInjectorCommand(CommandLog log, int injector, bool toState, float?target, double startTime)
     : base(log, toState, target, startTime)
 {
     Injector = injector;
     Redo();
 }
Example #24
0
 /// <summary>
 /// Each command adds itself to the log when it is constructed.
 /// </summary>
 public Command(CommandLog log)
 {
     log.CommandAdd(this as ICommand);
 }
Example #25
0
 public IndexCommand(CommandLog log, int index)
     : base(log)
 {
     Index = index;
 }
Example #26
0
 public AlerterCommand(CommandLog log, bool toState)
     : base(log, toState)
 {
     Redo();
 }
Example #27
0
 public ToggleManualFiringCommand(CommandLog log)
     : base(log)
 {
     Redo();
 }
Example #28
0
 public BellCommand(CommandLog log, bool toState)
     : base(log, toState)
 {
     Redo();
 }
Example #29
0
 public ToggleOdometerCommand(CommandLog log)
     : base(log)
 {
     Redo();
 }
Example #30
0
 public ToggleMUCommand(CommandLog log, MSTSLocomotive receiver, bool toState)
     : base(log, toState)
 {
     Receiver = receiver;
     Redo();
 }