Ejemplo n.º 1
0
 private Task IdleCommandTrack()
 {
     train.ThrottleMinimal();
     train.ThrottleSupport();
     train.ThrottleIdle();
     DelaySimulation.Wait(500);
     train.ThrottleRelease();
     train.DynamicBrakeApply50();
     DelaySimulation.Wait(500);
     train.DynamicBrakeRelease();
     train.BrakesFullService();
     return(Task.CompletedTask);
 }
Ejemplo n.º 2
0
 public void BrakesRelease()
 {
     Notify("Brakes release"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 3
0
 public void BrakesFullService()
 {
     Console.WriteLine("Brakes Full Service"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 4
0
 public void ThrottleSupport()
 {
     Console.WriteLine("Throttle Support"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 5
0
 public void ThrottleIdle()
 {
     Console.WriteLine("Throttle Idle"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 6
0
 public void PantographRise()
 {
     Console.WriteLine("Locomotive pantograph rised"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 7
0
 public void IBApply(int HForce)
 {
     Console.WriteLine("Independent brake apply at {0}", HForce); DelaySimulation.Wait(500);
 }
Ejemplo n.º 8
0
 public void SystemCheck()
 {
     Console.WriteLine("Locomotive prestart system checking"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 9
0
 public void PantographDetach()
 {
     Notify("Locomotive panthograph detached");
     Notify(CurrentState = _defaultState);
     DelaySimulation.WaitDefault();
 }
Ejemplo n.º 10
0
 public void PantographRise()
 {
     Notify("Locomotive pantograph rised"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 11
0
 public void SystemCheck()
 {
     Notify("Locomotive prestart system checking"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 12
0
 public void IBRelease()
 {
     Notify("Independent brake release"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 13
0
 public void IBApply(int HForce)
 {
     Notify($"Independent brake apply at {HForce}"); DelaySimulation.Wait(50);
 }
Ejemplo n.º 14
0
 public void BrakesMedium()
 {
     Notify("Brakes medium"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 15
0
 public void BrakesMinimum()
 {
     Notify("Brakes minimal"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 16
0
 public void BrakesRelease()
 {
     Console.WriteLine("Brakes release"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 17
0
 public void BrakesMinimum()
 {
     Console.WriteLine("Brakes minimal"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 18
0
 public void ThrottleIdle()
 {
     Notify("Throttle Idle"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 19
0
 public void BrakesMedium()
 {
     Console.WriteLine("Brakes medium"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 20
0
 public void ThrottleMinimal()
 {
     Notify("Throttle Minimal"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 21
0
 public void IBRelease()
 {
     Console.WriteLine("Independent brake release"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 22
0
 public void ThrottleSupport()
 {
     Notify("Throttle Support"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 23
0
 public void PantographDetach()
 {
     Console.WriteLine("Locomotive panthograph detached"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 24
0
 public void ReverserForward()
 {
     Notify("Reverser is set to forward"); DelaySimulation.Wait(70);
 }
Ejemplo n.º 25
0
 public void ThrottleMinimal()
 {
     Console.WriteLine("Throttle Minimal"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 26
0
 public void ReverserReverse()
 {
     Notify("Reverser is set to reverse"); DelaySimulation.Wait(60);
 }
Ejemplo n.º 27
0
 public void BrakesEmergency()
 {
     Console.WriteLine("Brakes Emergrncy. Hold On!"); DelaySimulation.WaitDefault();
 }
Ejemplo n.º 28
0
 public void ReverserNeutral()
 {
     Notify("Reverser neutral"); DelaySimulation.Wait(70);
 }
Ejemplo n.º 29
0
 public void Drive(GearboxPosition position)
 {
     Notify("Car is moving..");
     DelaySimulation.WaitDefault();
     Notify("Car stoped");
 }
Ejemplo n.º 30
0
 public void BrakesFullService()
 {
     Notify("Brakes Full Service"); DelaySimulation.WaitDefault();
 }