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

Skip to content
Snippets Groups Projects
Commit 0ab01822 authored by Harald MARTINI's avatar Harald MARTINI
Browse files

updated heavy lorry MRF

parent 603f0c30
No related branches found
No related tags found
No related merge requests found
......@@ -208,8 +208,14 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.ManufacturerReport.
public override XElement GetElement(IDeclarationInputDataProvider inputData)
{
var vehicle = inputData.JobInputData.Vehicle;
return new XElement(_mrf + XMLNames.Component_Vehicle,
_mrfFactory.GetGeneralLorryVehicleOutputGroup().GetElements(inputData),
new XElement(_mrf + XMLNames.Component_Manufacturer, vehicle.Manufacturer),
new XElement(_mrf + XMLNames.ManufacturerAddress, vehicle.ManufacturerAddress),
_mrfFactory.GetGeneralVehicleOutputGroup().GetElements(vehicle),
new XElement(_mrf + XMLNames.CorrectedActualMass, vehicle.CurbMassChassis.ToXMLFormat(0)),
new XElement(_mrf + XMLNames.Vehicle_SleeperCab, vehicle.SleeperCab),
new XElement(_mrf + "ZeroEmissionHDV", vehicle.ZeroEmissionVehicle),
new XElement(_mrf + "VehicleTechnologyExempted", inputData.JobInputData.Vehicle.ExemptedTechnology),
new XElement(_mrf + XMLNames.Exempted_SumNetPower, inputData.JobInputData.Vehicle.MaxNetPower1.ValueAsUnit(XMLNames.Unit_W))
);
......
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