Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 8c63a2f3 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

Added APTN in Powertrainbuilder.GetShiftStrategy again (was missing after merge)

parent 11006322
No related branches found
No related tags found
No related merge requests found
......@@ -1037,9 +1037,12 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
runData.ShiftStrategy = ATShiftStrategyOptimized.Name;
return new ATShiftStrategyOptimized(container);
//return new ATShiftStrategy(runData, container);
case GearboxType.APTN:
runData.ShiftStrategy = APTNShiftStrategy.Name;
return new APTNShiftStrategy(container);
default:
throw new ArgumentOutOfRangeException("GearboxType",
$"Unknown Gearbox Type {runData.GearboxData.Type.ToString()}");
$"Unknown Gearbox Type {runData.GearboxData.Type}");
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment