diff --git a/VectoCore/VectoCore/Models/Simulation/Impl/PowertrainBuilder.cs b/VectoCore/VectoCore/Models/Simulation/Impl/PowertrainBuilder.cs index b257ec726395c64761bd9f773001ff0305696c22..1a84dd10c4438513171acb7accb113ecd4a7aade 100644 --- a/VectoCore/VectoCore/Models/Simulation/Impl/PowertrainBuilder.cs +++ b/VectoCore/VectoCore/Models/Simulation/Impl/PowertrainBuilder.cs @@ -345,12 +345,6 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl case GearboxType.MT: strategy = new MTShiftStrategy(data, container); break; - case GearboxType.AT: - strategy = new ATShiftStrategy(data, container); - break; - case GearboxType.Custom: - strategy = new CustomShiftStrategy(data, container); - break; default: throw new VectoSimulationException("Unknown Gearbox Type: {0}", data.Type); } diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/ShiftStrategy.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/ShiftStrategy.cs index 38b620258c82fee359428a5daf1c1e52fd4b1432..4307d9ecb09540faf9d48fe5ed50cc8f7b0f6ab5 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/ShiftStrategy.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/ShiftStrategy.cs @@ -122,8 +122,6 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl public AMTShiftStrategy(GearboxData data, IDataBus dataBus) : base(data, dataBus) { PreviousGear = 1; - - // todo: move to settings Data.EarlyShiftUp = true; Data.SkipGears = true; } @@ -326,60 +324,4 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl Data.SkipGears = true; } } - - // TODO Implement ATShiftStrategy - public class ATShiftStrategy : ShiftStrategy - { - public ATShiftStrategy(GearboxData data, IDataBus bus) : base(data, bus) {} - - public override uint Engage(Second absTime, Second dt, NewtonMeter outTorque, PerSecond outEngineSpeed) - { - throw new NotImplementedException(); - } - - public override void Disengage(Second absTime, Second dt, NewtonMeter outTorque, PerSecond outEngineSpeed) - { - throw new NotImplementedException(); - } - - public override bool ShiftRequired(Second absTime, Second dt, NewtonMeter outTorque, PerSecond outAngularVelocity, - NewtonMeter inTorque, - PerSecond inAngularSpeed, uint gear, Second lastShiftTime) - { - throw new NotImplementedException(); - } - - public override uint InitGear(Second absTime, Second dt, NewtonMeter outTorque, PerSecond outEngineSpeed) - { - throw new NotImplementedException(); - } - } - - // TODO Implement CustomShiftStrategy - public class CustomShiftStrategy : ShiftStrategy - { - public CustomShiftStrategy(GearboxData data, IDataBus dataBus) : base(data, dataBus) {} - - public override bool ShiftRequired(Second absTime, Second dt, NewtonMeter outTorque, PerSecond outAngularVelocity, - NewtonMeter inTorque, - PerSecond inAngularSpeed, uint gear, Second lastShiftTime) - { - throw new NotImplementedException(); - } - - public override uint InitGear(Second absTime, Second dt, NewtonMeter outTorque, PerSecond outEngineSpeed) - { - throw new NotImplementedException(); - } - - public override uint Engage(Second absTime, Second dt, NewtonMeter outTorque, PerSecond outEngineSpeed) - { - throw new NotImplementedException(); - } - - public override void Disengage(Second absTime, Second dt, NewtonMeter outTorque, PerSecond outEngineSpeed) - { - throw new NotImplementedException(); - } - } } \ No newline at end of file