User Tools

Site Tools


tutorials:vec:file_structure

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tutorials:vec:file_structure [2019/11/13 12:30]
4soft.fehlmann
tutorials:vec:file_structure [2019/11/22 10:31] (current)
4soft.fehlmann
Line 33: Line 33:
 Because of the fact that units are stateless they can be referenced from every element that represents a physical characteristic of a part or a specific part usage. This global validity is the reason why units are placed directly underneath the VEC root element. The different systems to define units are represented by the subclasses of the unit class (e.g. SIUnit, ImperialUnit). ​ Because of the fact that units are stateless they can be referenced from every element that represents a physical characteristic of a part or a specific part usage. This global validity is the reason why units are placed directly underneath the VEC root element. The different systems to define units are represented by the subclasses of the unit class (e.g. SIUnit, ImperialUnit). ​
 <​Code:​xml linenums|Listing 3> <​Code:​xml linenums|Listing 3>
-<​Unit ​xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance" ​xsi:​type="​ns2:​SIUnit"​ id="​id_unit_6000">​+<Unit xsi:​type="​vec:​SIUnit"​ id="​id_unit_6000">​
         <​Exponent>​2</​Exponent>​         <​Exponent>​2</​Exponent>​
         <​SiUnitName>​Metre</​SiUnitName>​         <​SiUnitName>​Metre</​SiUnitName>​
         <​SiPrefix>​Milli</​SiPrefix>​         <​SiPrefix>​Milli</​SiPrefix>​
     </​Unit>​     </​Unit>​
-    <​Unit ​xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance" ​xsi:​type="​ns2:​SIUnit"​ id="​id_unit_170">​+    <Unit xsi:​type="​vec:​SIUnit"​ id="​id_unit_170">​
         <​SiUnitName>​Gram</​SiUnitName>​         <​SiUnitName>​Gram</​SiUnitName>​
     </​Unit>​     </​Unit>​
-    <​Unit ​xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance" ​xsi:​type="​ns2:​SIUnit"​ id="​id_unit_7238">​+    <Unit xsi:​type="​vec:​SIUnit"​ id="​id_unit_7238">​
         <​Exponent>​-1</​Exponent>​         <​Exponent>​-1</​Exponent>​
         <​SiUnitName>​Metre</​SiUnitName>​         <​SiUnitName>​Metre</​SiUnitName>​
     </​Unit>​     </​Unit>​
-    <​Unit ​xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance" ​xsi:​type="​ns2:​SIUnit"​ id="​id_unit_442">​+    <Unit xsi:​type="​vec:​SIUnit"​ id="​id_unit_442">​
         <​SiUnitName>​DegreeCelsius</​SiUnitName>​         <​SiUnitName>​DegreeCelsius</​SiUnitName>​
     </​Unit>​     </​Unit>​
-    <​Unit ​xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance" ​xsi:​type="​ns2:​SIUnit"​ id="​id_unit_189">​+    <Unit xsi:​type="​vec:​SIUnit"​ id="​id_unit_189">​
         <​SiUnitName>​Ampere</​SiUnitName>​         <​SiUnitName>​Ampere</​SiUnitName>​
     </​Unit>​     </​Unit>​
-    <​Unit ​xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance" ​xsi:​type="​ns2:​SIUnit"​ id="​id_unit_445">​+    <Unit xsi:​type="​vec:​SIUnit"​ id="​id_unit_445">​
         <​SiUnitName>​Volt</​SiUnitName>​         <​SiUnitName>​Volt</​SiUnitName>​
     </​Unit>​     </​Unit>​
-    <​Unit ​xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance" ​xsi:​type="​ns2:​SIUnit"​ id="​id_unit_196">​+    <Unit xsi:​type="​vec:​SIUnit"​ id="​id_unit_196">​
         <​SiUnitName>​Second</​SiUnitName>​         <​SiUnitName>​Second</​SiUnitName>​
     </​Unit>​     </​Unit>​
Line 87: Line 87:
         <​DocumentType>​SignalList</​DocumentType>​         <​DocumentType>​SignalList</​DocumentType>​
         <​DocumentVersion>​1</​DocumentVersion>​         <​DocumentVersion>​1</​DocumentVersion>​
-        <​Specification ​xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance" ​xsi:​type="​ns2:​SignalSpecification"​ id="​id_signal_spec_1">​+        <​Specification xsi:​type="​vec:​SignalSpecification"​ id="​id_signal_spec_1">​
             <​Identification>​Signals</​Identification>​             <​Identification>​Signals</​Identification>​
             <Signal id="​id_signal_1">​             <Signal id="​id_signal_1">​
                 <​Identification>​1</​Identification>​                 <​Identification>​1</​Identification>​
                 <​SignalName>​1</​SignalName>​                 <​SignalName>​1</​SignalName>​
-                <​Description xsi:​type="​ns2:​LocalizedString"​ id="​id_localizedString_1">​+                <​Description xsi:​type="​vec:​LocalizedString"​ id="​id_localizedString_1">​
                     <​LanguageCode>​De</​LanguageCode>​                     <​LanguageCode>​De</​LanguageCode>​
                     <​Value>​Masse</​Value>​                     <​Value>​Masse</​Value>​
Line 101: Line 101:
                 <​Identification>​2</​Identification>​                 <​Identification>​2</​Identification>​
                 <​SignalName>​2</​SignalName>​                 <​SignalName>​2</​SignalName>​
-                <​Description xsi:​type="​ns2:​LocalizedString"​ id="​id_localizedString_2">​+                <​Description xsi:​type="​vec:​LocalizedString"​ id="​id_localizedString_2">​
                     <​LanguageCode>​De</​LanguageCode>​                     <​LanguageCode>​De</​LanguageCode>​
                     <​Value>​Licht</​Value>​                     <​Value>​Licht</​Value>​
Line 109: Line 109:
                 <​Identification>​3</​Identification>​                 <​Identification>​3</​Identification>​
                 <​SignalName>​3</​SignalName>​                 <​SignalName>​3</​SignalName>​
-                <​Description xsi:​type="​ns2:​LocalizedString"​ id="​id_localizedString_3">​+                <​Description xsi:​type="​vec:​LocalizedString"​ id="​id_localizedString_3">​
                     <​LanguageCode>​De</​LanguageCode>​                     <​LanguageCode>​De</​LanguageCode>​
                     <​Value>​Batterie</​Value>​                     <​Value>​Batterie</​Value>​
tutorials/vec/file_structure.txt ยท Last modified: 2019/11/22 10:31 by 4soft.fehlmann