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

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

implemented vehicle type in primary bus data providers

parent 01b588cb
No related branches found
No related tags found
No related merge requests found
...@@ -114,6 +114,8 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24 ...@@ -114,6 +114,8 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
public XMLDeclarationHevPxPrimaryBusDataProviderV24(IXMLDeclarationJobInputData jobData, XmlNode xmlNode, string sourceFile) public XMLDeclarationHevPxPrimaryBusDataProviderV24(IXMLDeclarationJobInputData jobData, XmlNode xmlNode, string sourceFile)
: base(jobData, xmlNode, sourceFile) { } : base(jobData, xmlNode, sourceFile) { }
public override VectoSimulationJobType VehicleType => VectoSimulationJobType.ParallelHybridVehicle;
} }
// --------------------------------------------------------------------------------------- // ---------------------------------------------------------------------------------------
...@@ -134,6 +136,8 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24 ...@@ -134,6 +136,8 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
: base(jobData, xmlNode, sourceFile) { } : base(jobData, xmlNode, sourceFile) { }
public override IList<ITorqueLimitInputData> TorqueLimits => null; public override IList<ITorqueLimitInputData> TorqueLimits => null;
public override VectoSimulationJobType VehicleType => VectoSimulationJobType.SerialHybridVehicle;
} }
// --------------------------------------------------------------------------------------- // ---------------------------------------------------------------------------------------
...@@ -158,6 +162,8 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24 ...@@ -158,6 +162,8 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
public override IList<ITorqueLimitInputData> TorqueLimits => null; public override IList<ITorqueLimitInputData> TorqueLimits => null;
#endregion #endregion
public override VectoSimulationJobType VehicleType => VectoSimulationJobType.BatteryElectricVehicle;
} }
...@@ -179,6 +185,8 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24 ...@@ -179,6 +185,8 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
public override bool Articulated => GetBool(XMLNames.Vehicle_Articulated); public override bool Articulated => GetBool(XMLNames.Vehicle_Articulated);
public override VectoSimulationJobType VehicleType => VectoSimulationJobType.BatteryElectricVehicle;
#endregion #endregion
} }
...@@ -203,6 +211,11 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24 ...@@ -203,6 +211,11 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
public override IList<ITorqueLimitInputData> TorqueLimits => null; public override IList<ITorqueLimitInputData> TorqueLimits => null;
#region Overrides of AbstractXMLVehicleDataProviderV24
public override VectoSimulationJobType VehicleType => VectoSimulationJobType.SerialHybridVehicle;
#endregion
#endregion #endregion
} }
......
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