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

Skip to content
Snippets Groups Projects
Commit 1aac9f8e authored by Franz KOBER josef's avatar Franz KOBER josef
Browse files

set toXMLFormat() calls at CertificationMethod

parent edec2c5e
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.VehicleInformationF
new XAttribute(_xsi + "type", "vif:AngledriveDataVIFType"),
new XElement(_vif + XMLNames.Component_Manufacturer, angelDrive.Manufacturer),
new XElement(_vif + XMLNames.Component_Model, angelDrive.Model),
new XElement(_vif + XMLNames.Component_CertificationMethod, angelDrive.CertificationMethod),
new XElement(_vif + XMLNames.Component_CertificationMethod, angelDrive.CertificationMethod.ToXMLFormat()),
angelDrive.CertificationMethod == CertificationMethod.StandardValues
? null
: new XElement(_vif + XMLNames.Report_Component_CertificationNumber,
......
......@@ -23,7 +23,7 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.VehicleInformationF
new XAttribute(_xsi + "type", "vif:AxlegearDataVIFType"),
new XElement(_vif + XMLNames.Component_Manufacturer, axleGear.Manufacturer),
new XElement(_vif + XMLNames.Component_Model, axleGear.Model),
new XElement(_vif + XMLNames.Component_CertificationMethod, axleGear.CertificationMethod),
new XElement(_vif + XMLNames.Component_CertificationMethod, axleGear.CertificationMethod.ToXMLFormat()),
axleGear.CertificationMethod == CertificationMethod.StandardValues
? null
: new XElement(_vif + XMLNames.Report_Component_CertificationNumber,
......
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