Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit 4994af4

Browse files
committed
Fixed simple example to match new enum serialization pattern
1 parent b38c1b0 commit 4994af4

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

dataformat-aml/src/test/resources/test_demo_simple_example.aml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
<RefSemantic CorrespondingAttributePath="AAS:AssetInformation/assetKind"/>
1111
</Attribute>
1212
<Attribute Name="globalAssetId">
13-
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(Asset)[IRI]http://customer.com/assets/KHBVZJSQKIY</Value>
13+
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(Asset)[Iri]http://customer.com/assets/KHBVZJSQKIY</Value>
1414
<RefSemantic CorrespondingAttributePath="AAS:AssetInformation/globalAssetId"/>
1515
</Attribute>
1616
<Attribute Name="specificAssetId">
1717
<RefSemantic CorrespondingAttributePath="AAS:AssetInformation/specificAssetId"/>
1818
<Attribute Name="specificAssetId_1">
1919
<Attribute Name="externalSubjectId">
20-
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(GlobalReference)[IRI]http://customer.com/Systems/ERP/012</Value>
20+
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(GlobalReference)[Iri]http://customer.com/Systems/ERP/012</Value>
2121
<RefSemantic CorrespondingAttributePath="AAS:IdentifierKeyValuePair/externalSubjectId"/>
2222
</Attribute>
2323
<Attribute Name="key">
@@ -31,7 +31,7 @@
3131
</Attribute>
3232
<Attribute Name="specificAssetId_2">
3333
<Attribute Name="externalSubjectId">
34-
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(GlobalReference)[IRI]http://customer.com/Systems/IoT/1</Value>
34+
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(GlobalReference)[Iri]http://customer.com/Systems/IoT/1</Value>
3535
<RefSemantic CorrespondingAttributePath="AAS:IdentifierKeyValuePair/externalSubjectId"/>
3636
</Attribute>
3737
<Attribute Name="key">
@@ -81,7 +81,7 @@
8181
<RefSemantic CorrespondingAttributePath="AAS:HasKind/kind"/>
8282
</Attribute>
8383
<Attribute Name="semanticId">
84-
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(GlobalReference)[IRDI]0173-1#01-AFZ615#016</Value>
84+
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(GlobalReference)[Irdi]0173-1#01-AFZ615#016</Value>
8585
<RefSemantic CorrespondingAttributePath="AAS:HasSemantics/semanticId"/>
8686
</Attribute>
8787
<InternalElement ID="3" Name="MaxRotationSpeed">
@@ -98,7 +98,7 @@
9898
<RefSemantic CorrespondingAttributePath="AAS:HasKind/kind"/>
9999
</Attribute>
100100
<Attribute Name="semanticId">
101-
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(ConceptDescription)[IRDI]0173-1#02-BAA120#008</Value>
101+
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(ConceptDescription)[Irdi]0173-1#02-BAA120#008</Value>
102102
<RefSemantic CorrespondingAttributePath="AAS:HasSemantics/semanticId"/>
103103
</Attribute>
104104
<Attribute Name="value" AttributeDataType="xs:integer">
@@ -143,7 +143,7 @@
143143
<RefSemantic CorrespondingAttributePath="AAS:HasKind/kind"/>
144144
</Attribute>
145145
<Attribute Name="semanticId">
146-
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(ConceptDescription)[IRI]http://customer.com/cd/1/1/18EBD56F6B43D895</Value>
146+
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(ConceptDescription)[Iri]http://customer.com/cd/1/1/18EBD56F6B43D895</Value>
147147
<RefSemantic CorrespondingAttributePath="AAS:HasSemantics/semanticId"/>
148148
</Attribute>
149149
<Attribute Name="value" AttributeDataType="xs:integer">
@@ -192,7 +192,7 @@
192192
<RefSemantic CorrespondingAttributePath="AAS:SubmodelElementCollection/ordered"/>
193193
</Attribute>
194194
<Attribute Name="semanticId">
195-
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(ConceptDescription)[IRI]www.vdi2770.com/blatt1/Entwurf/Okt18/cd/Document</Value>
195+
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(ConceptDescription)[Iri]www.vdi2770.com/blatt1/Entwurf/Okt18/cd/Document</Value>
196196
<RefSemantic CorrespondingAttributePath="AAS:HasSemantics/semanticId"/>
197197
</Attribute>
198198
<InternalElement ID="7" Name="Title">
@@ -205,7 +205,7 @@
205205
<RefSemantic CorrespondingAttributePath="AAS:HasKind/kind"/>
206206
</Attribute>
207207
<Attribute Name="semanticId">
208-
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(ConceptDescription)[IRI]www.vdi2770.com/blatt1/Entwurf/Okt18/cd/Description/Title</Value>
208+
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(ConceptDescription)[Iri]www.vdi2770.com/blatt1/Entwurf/Okt18/cd/Description/Title</Value>
209209
<RefSemantic CorrespondingAttributePath="AAS:HasSemantics/semanticId"/>
210210
</Attribute>
211211
<Attribute Name="value" AttributeDataType="xs:langString">
@@ -228,7 +228,7 @@
228228
<RefSemantic CorrespondingAttributePath="AAS:File/mimeType"/>
229229
</Attribute>
230230
<Attribute Name="semanticId">
231-
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(ConceptDescription)[IRI]www.vdi2770.com/blatt1/Entwurf/Okt18/cd/StoredDocumentRepresentation/DigitalFile</Value>
231+
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(ConceptDescription)[Iri]www.vdi2770.com/blatt1/Entwurf/Okt18/cd/StoredDocumentRepresentation/DigitalFile</Value>
232232
<RefSemantic CorrespondingAttributePath="AAS:HasSemantics/semanticId"/>
233233
</Attribute>
234234
<Attribute Name="value">
@@ -432,7 +432,7 @@
432432
<RefSemantic CorrespondingAttributePath="IEC:DataSpecificationIEC61360/unit"/>
433433
</Attribute>
434434
<Attribute Name="unitId">
435-
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(GlobalReference)[IRDI]0173-1#05-AAA650#002</Value>
435+
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(GlobalReference)[Irdi]0173-1#05-AAA650#002</Value>
436436
<RefSemantic CorrespondingAttributePath="IEC:DataSpecificationIEC61360/unitId"/>
437437
</Attribute>
438438
<RoleRequirements RefBaseRoleClassPath="AssetAdministrationShellRoleClassLib/DataSpecificationContent"/>
@@ -500,7 +500,7 @@
500500
<RefSemantic CorrespondingAttributePath="IEC:DataSpecificationIEC61360/unit"/>
501501
</Attribute>
502502
<Attribute Name="unitId">
503-
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(GlobalReference)[IRDI]0173-1#05-AAA650#002</Value>
503+
<Value xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string">(GlobalReference)[Irdi]0173-1#05-AAA650#002</Value>
504504
<RefSemantic CorrespondingAttributePath="IEC:DataSpecificationIEC61360/unitId"/>
505505
</Attribute>
506506
<RoleRequirements RefBaseRoleClassPath="AssetAdministrationShellRoleClassLib/DataSpecificationContent"/>

0 commit comments

Comments
 (0)