Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

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

implemented VehicleType in HeavyLorryVehicleDataProvider

parent 0f0cf5ed
No related branches found
No related tags found
No related merge requests found
......@@ -714,7 +714,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider
public override VectoSimulationJobType VehicleType
{
get => throw new NotImplementedException();
get => throw new NotImplementedException($"not implemented in {this.GetType()}");
}
#endregion
......
......@@ -38,6 +38,12 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
: (TankSystem?)null;
#endregion
public override VectoSimulationJobType VehicleType
{
get => VectoSimulationJobType.ConventionalVehicle;
}
}
// ---------------------------------------------------------------------------------------
......@@ -81,6 +87,11 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
: null;
#endregion
public override VectoSimulationJobType VehicleType
{
get => VectoSimulationJobType.ParallelHybridVehicle;
}
}
// ---------------------------------------------------------------------------------------
......@@ -108,6 +119,11 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
public override IList<ITorqueLimitInputData> TorqueLimits => null;
#endregion
public override VectoSimulationJobType VehicleType
{
get => VectoSimulationJobType.SerialHybridVehicle;
}
}
// ---------------------------------------------------------------------------------------
......@@ -141,6 +157,11 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
#endregion
public override IList<ITorqueLimitInputData> TorqueLimits => null;
public override VectoSimulationJobType VehicleType
{
get => VectoSimulationJobType.BatteryElectricVehicle;
}
}
// ---------------------------------------------------------------------------------------
......@@ -161,12 +182,15 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
public override IList<ITorqueLimitInputData> TorqueLimits => null;
#endregion
#endregion
public override VectoSimulationJobType VehicleType
{
get => VectoSimulationJobType.BatteryElectricVehicle;
}
}
// ---------------------------------------------------------------------------------------
......@@ -205,6 +229,11 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
public override TableData BoostingLimitations => null;
#endregion
public override VectoSimulationJobType VehicleType
{
get => VectoSimulationJobType.SerialHybridVehicle;
}
}
// ---------------------------------------------------------------------------------------
......
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