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