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

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

Merge branch 'develop' of...

parents b111d24e cd5dd56c
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
<File FilePath="VectoCore\VectoCore\Resources\XSD\VectoEngineeringInput.0.7.xsd" HomeFolder="Yes"/> <File FilePath="VectoCore\VectoCore\Resources\XSD\VectoEngineeringInput.0.7.xsd" HomeFolder="Yes"/>
<File FilePath="VectoCore\VectoCore\Resources\XSD\VectoInput.1.0.xsd" HomeFolder="Yes"/> <File FilePath="VectoCore\VectoCore\Resources\XSD\VectoInput.1.0.xsd" HomeFolder="Yes"/>
<File FilePath="VectoCore\VectoCore\Resources\XSD\VectoOutputCustomer.0.4.xsd" HomeFolder="Yes"/> <File FilePath="VectoCore\VectoCore\Resources\XSD\VectoOutputCustomer.0.4.xsd" HomeFolder="Yes"/>
<File FilePath="VectoCore\VectoCore\Resources\XSD\VectoOutputCustomer.0.5.xsd" HomeFolder="Yes"/>
<File FilePath="VectoCore\VectoCore\Resources\XSD\VectoOutputManufacturer.0.4.xsd" HomeFolder="Yes"/> <File FilePath="VectoCore\VectoCore\Resources\XSD\VectoOutputManufacturer.0.4.xsd" HomeFolder="Yes"/>
<File FilePath="VectoCore\VectoCore\Resources\XSD\VectoOutputManufacturer.0.5.xsd" HomeFolder="Yes"/> <File FilePath="VectoCore\VectoCore\Resources\XSD\VectoOutputManufacturer.0.5.xsd" HomeFolder="Yes"/>
<File FilePath="VectoCore\VectoCore\Resources\XSD\VTPReport.0.1.xsd" HomeFolder="Yes"/> <File FilePath="VectoCore\VectoCore\Resources\XSD\VTPReport.0.1.xsd" HomeFolder="Yes"/>
......
...@@ -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
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2016 rel. 2 (x64) (http://www.altova.com) by Helmut Eichlseder (TU Graz/Inst. f. VKM und THD) --> <!-- edited with XMLSpy v2016 rel. 2 sp1 (x64) (http://www.altova.com) by Helmut Eichlseder (TU Graz/Inst. f. VKM und THD) -->
<!--W3C XML Schema generated by XMLSpy vXMLSpy Professional Edition v2016 rel. 2 (x64) (http://www.altova.com)--> <!--W3C XML Schema generated by XMLSpy vXMLSpy Professional Edition v2016 rel. 2 (x64) (http://www.altova.com)-->
<xs:schema xmlns="urn:tugraz:ivt:VectoAPI:CustomerOutput:v0.4" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vdecdef="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v1.0" targetNamespace="urn:tugraz:ivt:VectoAPI:CustomerOutput:v0.4" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.4"> <xs:schema xmlns="urn:tugraz:ivt:VectoAPI:CustomerOutput:v0.4" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vdecdef="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v1.0" targetNamespace="urn:tugraz:ivt:VectoAPI:CustomerOutput:v0.4" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.4">
<xs:import namespace="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v1.0" schemaLocation="VectoDeclarationDefinitions.1.0.xsd"/> <xs:import namespace="urn:tugraz:ivt:VectoAPI:DeclarationDefinitions:v1.0" schemaLocation="VectoDeclarationDefinitions.1.0.xsd"/>
...@@ -96,8 +96,8 @@ ...@@ -96,8 +96,8 @@
<xs:element name="ApplicationInformation"> <xs:element name="ApplicationInformation">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="SimulationToolVersion"/> <xs:element name="SimulationToolVersion" type="xs:string"/>
<xs:element name="Date"/> <xs:element name="Date" type="vdecdef:DateTimeWithTimezone"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
<xs:element name="Model" type="vdecdef:ModelType"/> <xs:element name="Model" type="vdecdef:ModelType"/>
<xs:element name="Manufacturer" type="vdecdef:ManufacturerType"/> <xs:element name="Manufacturer" type="vdecdef:ManufacturerType"/>
<xs:element name="ManufacturerAddress" type="vdecdef:ManufacturerAddressType"/> <xs:element name="ManufacturerAddress" type="vdecdef:ManufacturerAddressType"/>
<xs:element name="VIN"> <xs:element name="VIN" type="vdecdef:VINType">
<xs:annotation> <xs:annotation>
<xs:documentation>P238</xs:documentation> <xs:documentation>P238</xs:documentation>
</xs:annotation> </xs:annotation>
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
<xs:element name="FuelConsumption" type="FuelConsumptionType" maxOccurs="unbounded"/> <xs:element name="FuelConsumption" type="FuelConsumptionType" maxOccurs="unbounded"/>
<xs:element name="CO2" type="CO2Type" maxOccurs="unbounded"/> <xs:element name="CO2" type="CO2Type" maxOccurs="unbounded"/>
</xs:sequence> </xs:sequence>
<xs:element name="Error"/> <xs:element name="Error" type="xs:string"/>
</xs:choice> </xs:choice>
</xs:sequence> </xs:sequence>
<xs:attribute name="status" use="required"> <xs:attribute name="status" use="required">
...@@ -96,8 +96,8 @@ ...@@ -96,8 +96,8 @@
<xs:element name="ApplicationInformation"> <xs:element name="ApplicationInformation">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="SimulationToolVersion"/> <xs:element name="SimulationToolVersion" type="xs:string"/>
<xs:element name="Date"/> <xs:element name="Date" type="vdecdef:DateTimeWithTimezone"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
<xs:element name="Model" type="vdecdef:ModelType"/> <xs:element name="Model" type="vdecdef:ModelType"/>
<xs:element name="Manufacturer" type="vdecdef:ManufacturerType"/> <xs:element name="Manufacturer" type="vdecdef:ManufacturerType"/>
<xs:element name="ManufacturerAddress" type="vdecdef:ManufacturerAddressType"/> <xs:element name="ManufacturerAddress" type="vdecdef:ManufacturerAddressType"/>
<xs:element name="VIN"> <xs:element name="VIN" type="vdecdef:VINType">
<xs:annotation> <xs:annotation>
<xs:documentation>P238</xs:documentation> <xs:documentation>P238</xs:documentation>
</xs:annotation> </xs:annotation>
......
...@@ -23,10 +23,10 @@ ...@@ -23,10 +23,10 @@
</xs:element> </xs:element>
<xs:complexType name="AirdragType"> <xs:complexType name="AirdragType">
<xs:sequence> <xs:sequence>
<xs:element name="Model" minOccurs="0"/> <xs:element name="Model" type="vdecdef:ModelType" minOccurs="0"/>
<xs:element name="CertificationMethod" type="AirdragCertificationOptionType"/> <xs:element name="CertificationMethod" type="AirdragCertificationOptionType"/>
<xs:element name="CertificationNumber" minOccurs="0"/> <xs:element name="CertificationNumber" type="vdecdef:CertificationNumberType" minOccurs="0"/>
<xs:element name="DigestValue" minOccurs="0"/> <xs:element name="DigestValue" type="xs:token" minOccurs="0"/>
<xs:element name="CdxA" type="vdecdef:AirdragCdxAType"> <xs:element name="CdxA" type="vdecdef:AirdragCdxAType">
<xs:annotation> <xs:annotation>
<xs:documentation>P245</xs:documentation> <xs:documentation>P245</xs:documentation>
...@@ -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">
...@@ -385,8 +385,8 @@ ...@@ -385,8 +385,8 @@
<xs:element name="ApplicationInformation"> <xs:element name="ApplicationInformation">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element name="SimulationToolVersion"/> <xs:element name="SimulationToolVersion" type="xs:string"/>
<xs:element name="Date"/> <xs:element name="Date" type="vdecdef:DateTimeWithTimezone"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
...@@ -495,7 +495,7 @@ ...@@ -495,7 +495,7 @@
</xs:complexType> </xs:complexType>
<xs:complexType name="VehicleType"> <xs:complexType name="VehicleType">
<xs:sequence> <xs:sequence>
<xs:element name="VIN"> <xs:element name="VIN" type="vdecdef:VINType">
<xs:annotation> <xs:annotation>
<xs:documentation>P238</xs:documentation> <xs:documentation>P238</xs:documentation>
</xs:annotation> </xs:annotation>
......
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