public override void InitializeMoving() { NotchController.SetValue(0); if (NotchController.NotchCount() > 0) { NotchController.CurrentNotch = 0; } else { NotchController.CurrentNotch = -1; } }
public override void Initialize() { NotchController = new MSTSNotchController(Notches()); NotchController.SetValue(CurrentValue()); NotchController.IntermediateValue = CurrentValue(); NotchController.MinimumValue = MinimumValue(); NotchController.MaximumValue = MaximumValue(); NotchController.StepSize = StepSize(); }
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 }
public override void InitializeMoving() { NotchController.SetValue(0); NotchController.CurrentNotch = 0; }