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

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

updated airdrag xml writer

parent b1e4da22
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,9 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.ManufacturerReport. ...@@ -26,6 +26,9 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.ManufacturerReport.
public XElement GetXmlType(IAirdragDeclarationInputData inputData) public XElement GetXmlType(IAirdragDeclarationInputData inputData)
{ {
if (inputData == null || inputData.AirDragArea == null) {
return null;
}
return new XElement(_mrf + XMLNames.Component_AirDrag, return new XElement(_mrf + XMLNames.Component_AirDrag,
new XElement(_mrf + XMLNames.Component_Model, inputData.Model), new XElement(_mrf + XMLNames.Component_Model, inputData.Model),
new XElement(_mrf + XMLNames.Component_CertificationMethod, inputData.CertificationMethod), new XElement(_mrf + XMLNames.Component_CertificationMethod, inputData.CertificationMethod),
......
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