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

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

update manufacturer schema

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