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

Skip to content
Snippets Groups Projects
Commit cd5dd56c authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

Merge pull request #626 in VECTO/vecto-sim from...

Merge pull request #626 in VECTO/vecto-sim from ~EMQUARIMA/vecto-sim:bugfix/VECTO-711-elements-without-types-in-cif-and-mrf to develop

* commit 'aeaa92a0':
  update manufacturer schema
parents 3f7946cb aeaa92a0
No related branches found
No related tags found
No related merge requests found
...@@ -29,33 +29,33 @@ ...@@ -29,33 +29,33 @@
* Martin Rexeis, rexeis@ivt.tugraz.at, IVT, Graz University of Technology * Martin Rexeis, rexeis@ivt.tugraz.at, IVT, Graz University of Technology
*/ */
using TUGraz.VectoCommon.InputData; using TUGraz.VectoCommon.InputData;
using TUGraz.VectoCommon.Models; using TUGraz.VectoCommon.Models;
using TUGraz.VectoCommon.Resources; using TUGraz.VectoCommon.Resources;
using TUGraz.VectoCommon.Utils; using TUGraz.VectoCommon.Utils;
namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration namespace TUGraz.VectoCore.InputData.FileIO.XML.Declaration
{ {
public class XMLDeclarationAirdragDataProvider : AbstractDeclarationXMLComponentDataProvider, public class XMLDeclarationAirdragDataProvider : AbstractDeclarationXMLComponentDataProvider,
IAirdragDeclarationInputData IAirdragDeclarationInputData
{ {
public XMLDeclarationAirdragDataProvider(XMLDeclarationInputDataProvider xmlInputDataProvider) public XMLDeclarationAirdragDataProvider(XMLDeclarationInputDataProvider xmlInputDataProvider)
: base(xmlInputDataProvider) : base(xmlInputDataProvider)
{ {
XBasePath = Helper.Query(VehiclePath, XBasePath = Helper.Query(VehiclePath,
XMLNames.Vehicle_Components, XMLNames.Vehicle_Components,
XMLNames.Component_AirDrag, XMLNames.Component_AirDrag,
XMLNames.ComponentDataWrapper); XMLNames.ComponentDataWrapper);
} }
public new CertificationMethod CertificationMethod public new CertificationMethod CertificationMethod
{ {
get { return CertificationMethod.Measured; } get { return CertificationMethod.Measured; }
} }
public SquareMeter AirDragArea public SquareMeter AirDragArea
{ {
get { return ElementExists(XMLNames.AirDrag_DeclaredCdxA) ? GetDoubleElementValue(XMLNames.AirDrag_DeclaredCdxA).SI<SquareMeter>() : null; } get { return ElementExists(XMLNames.AirDrag_DeclaredCdxA) ? GetDoubleElementValue(XMLNames.AirDrag_DeclaredCdxA).SI<SquareMeter>() : null; }
} }
} }
} }
\ No newline at end of file
...@@ -361,7 +361,7 @@ ...@@ -361,7 +361,7 @@
</xs:complexType> </xs:complexType>
<xs:complexType name="TorqueLimitsType"> <xs:complexType name="TorqueLimitsType">
<xs:sequence> <xs:sequence>
<xs:element name="Entry" type="TorqueLimitsEntryType"/> <xs:element name="Entry" type="TorqueLimitsEntryType" maxOccurs="unbounded"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<xs:complexType name="VectoOutputDataType"> <xs:complexType name="VectoOutputDataType">
......
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