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 b7c008ab authored by Franz KOBER josef's avatar Franz KOBER josef
Browse files

added Hev S3 component Group

parent 332c7aec
No related branches found
No related tags found
No related merge requests found
......@@ -116,4 +116,27 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.VehicleInformationF
#endregion
}
public class HevS3ComponentVIFType: ComponentVIFType
{
public HevS3ComponentVIFType(IVIFReportFactory vifReportFactory) : base(vifReportFactory) { }
#region Overrides of ComponentVIFType
public override XElement GetElement(IDeclarationInputDataProvider inputData)
{
return new XElement(_vif + XMLNames.Vehicle_Components,
new XAttribute(_xsi + "type", "vif:Vehicle_HEV-S3_ComponentsVIFType"),
_vifReportFactory.GetEngineType().GetElement(inputData),
_vifReportFactory.GetElectricMachineGENType().GetElement(inputData),
_vifReportFactory.GetElectricEnergyStorageType().GetElement(inputData),
_vifReportFactory.GetElectricMachineType().GetElement(inputData),
_vifReportFactory.GetAxlegearType().GetElement(inputData),
_vifReportFactory.GetAxleWheelsType().GetElement(inputData),
_vifReportFactory.GetAuxiliaryHevSType().GetElement(inputData));
}
#endregion
}
}
......@@ -27,6 +27,7 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.VehicleInformationF
IXmlTypeWriter GetHevIepcSComponentVIFType();
IXmlTypeWriter GetHevPxComponentVIFType();
IXmlTypeWriter GetHevS2ComponentVIFType();
IXmlTypeWriter GetHevS3ComponentVIFType();
#endregion
......
......@@ -44,7 +44,10 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.VehicleInformationF
Bind<IXmlTypeWriter>().To<HevS2ComponentVIFType>().When(AccessedViaVIFFactory)
.NamedLikeFactoryMethod((IVIFReportFactory f) => f.GetHevS2ComponentVIFType());
Bind<IXmlTypeWriter>().To<HevS3ComponentVIFType>().When(AccessedViaVIFFactory)
.NamedLikeFactoryMethod((IVIFReportFactory f) => f.GetHevS3ComponentVIFType());
#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