Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 4f9ec1bb authored by Harald Martini's avatar Harald Martini
Browse files

fixed IEPC and IHPC mockup runs

parent 9f224ddf
No related branches found
No related tags found
No related merge requests found
......@@ -72,8 +72,7 @@ namespace TUGraz.VectoMockup.Simulation.RundataFactories
protected virtual IEnumerable<VectoRunData> VectoRunDataHeavyBusCompleted()
{
if (PrimaryVehicle.VehicleType ==
VectoSimulationJobType.BatteryElectricVehicle) {
if (PrimaryVehicle.VehicleType.IsOneOf(VectoSimulationJobType.IEPC_E, VectoSimulationJobType.BatteryElectricVehicle)) {
foreach (var vectoRunData in CreateVectoRunDataForMissions(0, ""))
yield return vectoRunData;
} else {
......
......@@ -55,6 +55,7 @@ namespace TUGraz.VectoMockup.Simulation.RundataFactories
case VectoSimulationJobType.ConventionalVehicle:
case VectoSimulationJobType.ParallelHybridVehicle:
case VectoSimulationJobType.SerialHybridVehicle:
case VectoSimulationJobType.IHPC:
case VectoSimulationJobType.IEPC_S:
return VectoRunDataConventionalHeavyBusPrimaryNonExempted();
case VectoSimulationJobType.IEPC_E:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment