private void KickdownShift(Threshold threshold) { _gearShifter.Downshift(); if (threshold.IsStrongKickDown()) { _gearShifter.Downshift(); } }
public void Accelerate(Threshold threshold) { if (_externalSystems.IsDrivingDown()) { _gearShifter.Downshift(); } _baseMode.Accelerate(threshold); }
public void Accelerate(Threshold threshold) { if (threshold.IsKickdown()) { _gearShifter.Downshift(); return; } CurrentRpmShift(); }
public void Accelerate(GearShiftBoundaries gearShiftBoundaries) { var currentRpm = _externalSystems.GetCurrentRpm(); if (currentRpm < gearShiftBoundaries.DownshiftBoundary) { _gearShifter.Downshift(); } else if (currentRpm > gearShiftBoundaries.UpshiftBoundary * _rpmUpshiftFactor) { _gearShifter.Upshift(); } }
public void Accelerate(Threshold threshold) { var currentRpm = _externalSystems.GetCurrentRpm(); if (currentRpm > _gearShiftBoundaries.UpshiftBoundary) { _gearShifter.Upshift(); return; } if (currentRpm < _gearShiftBoundaries.DownshiftBoundary) { _gearShifter.Downshift(); } }
public void ManualDownshift() { _gearShifter.Downshift(); }