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

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

updated medium lorry vehicle data provider, spelling in XMLDeclarationexemptedVehicleDataProvider

parent d3fc2c4b
No related branches found
No related tags found
No related merge requests found
......@@ -11,11 +11,11 @@ using TUGraz.VectoCore.Utils;
namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
{
public abstract class AsbtractXMLDeclarationExemptedVehicleDataProviderV24 : XMLDeclarationVehicleDataProviderV20
public abstract class AbstractXMLDeclarationExemptedVehicleDataProviderV24 : XMLDeclarationVehicleDataProviderV20
{
public new static readonly XNamespace NAMESPACE_URI = XMLDefinitions.DECLARATION_DEFINITIONS_NAMESPACE_URI_V24;
public AsbtractXMLDeclarationExemptedVehicleDataProviderV24(
public AbstractXMLDeclarationExemptedVehicleDataProviderV24(
IXMLDeclarationJobInputData jobData, XmlNode xmlNode, string sourceFile) : base(jobData, xmlNode, sourceFile)
{
SourceType = DataSourceType.XMLEmbedded;
......@@ -83,7 +83,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
}
// ---------------------------------------------------------------------------------------
public class XMLDeclarationExemptedHeavyLorryDataProviderV24 : AsbtractXMLDeclarationExemptedVehicleDataProviderV24
public class XMLDeclarationExemptedHeavyLorryDataProviderV24 : AbstractXMLDeclarationExemptedVehicleDataProviderV24
{
public new static readonly XNamespace NAMESPACE_URI = XMLDefinitions.DECLARATION_DEFINITIONS_NAMESPACE_URI_V24;
......@@ -105,7 +105,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
// ---------------------------------------------------------------------------------------
public class XMLDeclarationExemptedMediumLorryDataProviderV24 : AsbtractXMLDeclarationExemptedVehicleDataProviderV24
public class XMLDeclarationExemptedMediumLorryDataProviderV24 : AbstractXMLDeclarationExemptedVehicleDataProviderV24
{
public new static readonly XNamespace NAMESPACE_URI = XMLDefinitions.DECLARATION_DEFINITIONS_NAMESPACE_URI_V24;
......@@ -119,7 +119,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
// ---------------------------------------------------------------------------------------
public class XMLDeclarationExemptedPrimaryBusDataProviderV24 : AsbtractXMLDeclarationExemptedVehicleDataProviderV24
public class XMLDeclarationExemptedPrimaryBusDataProviderV24 : AbstractXMLDeclarationExemptedVehicleDataProviderV24
{
public new static readonly XNamespace NAMESPACE_URI = XMLDefinitions.DECLARATION_DEFINITIONS_NAMESPACE_URI_V24;
......@@ -139,7 +139,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
// ---------------------------------------------------------------------------------------
public class XMLDeclarationExemptedCompletedBusDataProviderV24 : AsbtractXMLDeclarationExemptedVehicleDataProviderV24
public class XMLDeclarationExemptedCompletedBusDataProviderV24 : AbstractXMLDeclarationExemptedVehicleDataProviderV24
{
public new static readonly XNamespace NAMESPACE_URI = XMLDefinitions.DECLARATION_DEFINITIONS_NAMESPACE_URI_V24;
public new const string XSD_TYPE = "Vehicle_Exempted_CompletedBusDeclarationType";
......
......@@ -71,6 +71,12 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
public XMLDeclarationConventionalMediumLorryVehicleDataProviderV24(
IXMLDeclarationJobInputData jobData, XmlNode xmlNode, string sourceFile) : base(jobData, xmlNode,
sourceFile) { }
#region Overrides of AbstractXMLVehicleDataProviderV24
public override VectoSimulationJobType VehicleType => VectoSimulationJobType.ConventionalVehicle;
#endregion
}
// ---------------------------------------------------------------------------------------
......@@ -85,6 +91,8 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
public XMLDeclarationHevPxMediumLorryDataProviderV24(IXMLDeclarationJobInputData jobData, XmlNode xmlNode, string sourceFile)
: base(jobData, xmlNode, sourceFile) { }
public override VectoSimulationJobType VehicleType => VectoSimulationJobType.ParallelHybridVehicle;
#region Overrides of XMLDeclarationHevPxHeavyLorryDataProviderV24
public override string PowertrainPositionPrefix => "P";
......@@ -107,6 +115,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
public override XmlElement PTONode => null;
#endregion
}
// ---------------------------------------------------------------------------------------
......@@ -123,6 +132,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
#endregion
public override VectoSimulationJobType VehicleType => VectoSimulationJobType.SerialHybridVehicle;
public XMLDeclarationHevSxMediumLorryDataProviderV24(IXMLDeclarationJobInputData jobData, XmlNode xmlNode, string sourceFile)
: base(jobData, xmlNode, sourceFile) { }
......@@ -150,6 +160,8 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
#endregion
public override VectoSimulationJobType VehicleType => VectoSimulationJobType.BatteryElectricVehicle;
public XMLDeclarationPevMediumLorryExDataProviderV24(IXMLDeclarationJobInputData jobData, XmlNode xmlNode, string sourceFile)
: base(jobData, xmlNode, sourceFile) { }
......@@ -181,6 +193,7 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
public XMLDeclarationIepcMediumLorryDataProviderV24(IXMLDeclarationJobInputData jobData, XmlNode xmlNode, string sourceFile)
: base(jobData, xmlNode, sourceFile) { }
public override VectoSimulationJobType VehicleType => VectoSimulationJobType.BatteryElectricVehicle;
#region Overrides of XMLDeclarationVehicleDataProviderV10
......@@ -228,6 +241,8 @@ namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration.DataProvider.v24
public override XmlElement PTONode => null;
#endregion
public override VectoSimulationJobType VehicleType => 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