public override void InitializeMoving()
 {
     NotchController.SetValue(0);
     if (NotchController.NotchCount() > 0)
     {
         NotchController.CurrentNotch = 0;
     }
     else
     {
         NotchController.CurrentNotch = -1;
     }
 }
Beispiel #2
0
 public override void Initialize()
 {
     NotchController = new MSTSNotchController(Notches());
     NotchController.SetValue(CurrentValue());
     NotchController.IntermediateValue = CurrentValue();
     NotchController.MinimumValue      = MinimumValue();
     NotchController.MaximumValue      = MaximumValue();
     NotchController.StepSize          = StepSize();
 }
Beispiel #3
0
 public override void Initialize()
 {
     NotchController = new MSTSNotchController(Notches());
     NotchController.SetValue(CurrentValue());
     NotchController.IntermediateValue = CurrentValue();
     NotchController.MinimumValue      = MinimumValue();
     NotchController.MaximumValue      = MaximumValue();
     NotchController.StepSize          = StepSize();
     BrakeControllerInitialised        = false; // set to false so that the PreviousNotchPosition value can be initialised around the first update loop
 }
Beispiel #4
0
 public override void InitializeMoving()
 {
     NotchController.SetValue(0);
     NotchController.CurrentNotch = 0;
 }