forked from derlehner/IndoorAirQuality_DigitalTwin_Exemplar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
baseline.aml
226 lines (226 loc) · 15.1 KB
/
baseline.aml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<CAEXFile xmlns="http://www.dke.de/CAEX" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" FileName="baseline.aml" SchemaVersion="3.0" xsi:schemaLocation="http://www.dke.de/CAEX CAEX_ClassModel_V.3.0.xsd">
<SuperiorStandardVersion>AutomationML 2.10</SuperiorStandardVersion>
<SourceDocumentInformation LastWritingDateTime="2021-08-31T12:24:09.3542816+02:00" OriginID="916578CA-FE0D-474E-A4FC-9E1719892369" OriginName="AutomationML Editor" OriginProjectID="unspecified" OriginProjectTitle="unspecified" OriginRelease="5.3.3.0" OriginVendor="AutomationML e.V." OriginVendorURL="www.AutomationML.org" OriginVersion="5.3.3.0" />
<InstanceHierarchy Name="ÎnstanceHierarchy">
<Version>0</Version>
<InternalElement Name="Science Park 3" ID="82afa067-fd92-4157-ad4e-415768dfda23" RefBaseSystemUnitPath="SystemUnitClassLib/Building">
<InternalElement Name="Room 101" ID="bcf5f7be-faab-4010-a9bc-69f2e7d6d529" RefBaseSystemUnitPath="SystemUnitClassLib/Building/Room">
<Attribute Name="aqLevel" AttributeDataType="xs:string" />
<InternalElement Name="Raspberry 1" ID="7b2bb8df-7d49-4909-b369-b1512a60d1d5" RefBaseSystemUnitPath="SystemUnitClassLib/Building/Room/Controller">
<ExternalInterface ID="9e1e17e3-eb27-4d5b-b1d3-a824798d2922" Name="sensors" />
<ExternalInterface Name="alarms" ID="238af86f-9ca2-4ea1-88a9-988fe8c2830b" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface" />
</InternalElement>
<InternalElement Name="SCD30 Sensor 1 - CO2" ID="e3111517-bde9-4d83-ada2-71f2c1ed3550" RefBaseSystemUnitPath="SystemUnitClassLib/Building/Room/Sensor">
<Attribute Name="type" AttributeDataType="xs:string" />
<Attribute Name="value" AttributeDataType="xs:string" />
<Attribute Name="unit" AttributeDataType="xs:string" />
<ExternalInterface Name="controller" ID="43ef60ee-4a9f-4d69-89a7-4b145f298988" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface" />
</InternalElement>
<InternalElement Name="SCD30 Sensor 1 - Temperature" ID="55de9cfd-c0b2-430f-8d19-5ae9c3715c27" RefBaseSystemUnitPath="SystemUnitClassLib/Building/Room/Sensor">
<Attribute Name="type" AttributeDataType="xs:string" />
<Attribute Name="value" AttributeDataType="xs:string" />
<Attribute Name="unit" AttributeDataType="xs:string" />
<ExternalInterface Name="controller" ID="24b393c6-2044-4767-a402-820bb8dae67e" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface" />
</InternalElement>
<InternalElement Name="SCD30 Sensor 1 - Humidity" ID="789906df-f718-45fc-9d0e-51e879f68e9f" RefBaseSystemUnitPath="SystemUnitClassLib/Building/Room/Sensor">
<Attribute Name="type" AttributeDataType="xs:string" />
<Attribute Name="value" AttributeDataType="xs:string" />
<Attribute Name="unit" AttributeDataType="xs:string" />
<ExternalInterface Name="controller" ID="b7d46ee4-bae7-414d-8b70-835e2628da13" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface" />
</InternalElement>
<InternalElement Name="LED 1" ID="15aecb3f-3cc4-4577-bb8f-2b757c2effc5" RefBaseSystemUnitPath="SystemUnitClassLib/Building/Room/Alarm">
<Attribute Name="isActive" AttributeDataType="xs:string" />
<ExternalInterface Name="controller" ID="e3551105-68eb-4865-9856-ca9614438e3e" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface" />
</InternalElement>
<InternalElement Name="Buzzer 1" ID="455cb2e9-e0dc-4cce-85c0-eedd09602894" RefBaseSystemUnitPath="SystemUnitClassLib/Building/Room/Alarm">
<Attribute Name="isActive" AttributeDataType="xs:string" />
<ExternalInterface Name="controller" ID="e5cf0fc8-a68c-48e7-b422-367b1fa5ac59" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface" />
</InternalElement>
<InternalLink RefPartnerSideA="9e1e17e3-eb27-4d5b-b1d3-a824798d2922" RefPartnerSideB="43ef60ee-4a9f-4d69-89a7-4b145f298988" Name="Link" />
<InternalLink RefPartnerSideA="9e1e17e3-eb27-4d5b-b1d3-a824798d2922" RefPartnerSideB="24b393c6-2044-4767-a402-820bb8dae67e" Name="InternalLink" />
<InternalLink RefPartnerSideA="238af86f-9ca2-4ea1-88a9-988fe8c2830b" RefPartnerSideB="e3551105-68eb-4865-9856-ca9614438e3e" Name="InternalLink1" />
<InternalLink RefPartnerSideA="238af86f-9ca2-4ea1-88a9-988fe8c2830b" RefPartnerSideB="e5cf0fc8-a68c-48e7-b422-367b1fa5ac59" Name="InternalLink2" />
</InternalElement>
</InternalElement>
</InstanceHierarchy>
<InterfaceClassLib ChangeMode="state" Name="AutomationMLInterfaceClassLib">
<Description>Standard Automation Markup Language Interface Class Library - Part 1 Content </Description>
<Version>2.10</Version>
<Copyright>AutomationML e.V.</Copyright>
<InterfaceClass Name="AutomationMLBaseInterface">
<Attribute Name="AssociatedExternalValue" RefAttributeType="AutomationMLBaseAttributeTypeLib/AssociatedExternalValue">
<Attribute AttributeDataType="xs:string" Name="refCAEXAttribute" />
<Attribute AttributeDataType="xs:string" Name="refURI" />
<Attribute AttributeDataType="xs:string" Name="Direction" />
</Attribute>
<InterfaceClass Name="Order" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface">
<Attribute AttributeDataType="xs:string" Name="Direction" RefAttributeType="AutomationMLBaseAttributeTypeLib/Direction">
<DefaultValue>InOut</DefaultValue>
<Constraint Name="AllowedValues">
<NominalScaledType>
<RequiredValue>In</RequiredValue>
<RequiredValue>Out</RequiredValue>
<RequiredValue>InOut</RequiredValue>
</NominalScaledType>
</Constraint>
</Attribute>
</InterfaceClass>
<InterfaceClass Name="Port" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface">
<Attribute AttributeDataType="xs:string" Name="Direction" RefAttributeType="AutomationMLBaseAttributeTypeLib/Direction">
<Constraint Name="AllowedValues">
<NominalScaledType>
<RequiredValue>In</RequiredValue>
<RequiredValue>Out</RequiredValue>
<RequiredValue>InOut</RequiredValue>
</NominalScaledType>
</Constraint>
</Attribute>
<Attribute Name="Cardinality" RefAttributeType="AutomationMLBaseAttributeTypeLib/Cardinality">
<Attribute AttributeDataType="xs:unsignedInt" Name="MinOccur" />
<Attribute AttributeDataType="xs:unsignedInt" Name="MaxOccur" />
</Attribute>
<Attribute AttributeDataType="xs:string" Name="Category" RefAttributeType="AutomationMLBaseAttributeTypeLib/Category" />
</InterfaceClass>
<InterfaceClass Name="PPRConnector" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface" />
<InterfaceClass Name="ExternalDataConnector" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface">
<Attribute AttributeDataType="xs:anyURI" Name="refURI" RefAttributeType="AutomationMLBaseAttributeTypeLib/refURI" />
<InterfaceClass Name="COLLADAInterface" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface/ExternalDataConnector">
<Attribute AttributeDataType="xs:string" Name="refType" />
<Attribute AttributeDataType="xs:token" Name="target" />
</InterfaceClass>
<InterfaceClass Name="PLCopenXMLInterface" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface/ExternalDataConnector" />
<InterfaceClass Name="ExternalDataReference" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface/ExternalDataConnector">
<Attribute AttributeDataType="xs:string" Name="MIMEType" RefAttributeType="AutomationMLBaseAttributeTypeLib/MIMEType" />
</InterfaceClass>
</InterfaceClass>
<InterfaceClass Name="Communication" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface">
<InterfaceClass Name="SignalInterface" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface/Communication" />
</InterfaceClass>
</InterfaceClass>
</InterfaceClassLib>
<InterfaceClassLib Name="DTDLInterfaceClassLib">
<Version>0</Version>
<InterfaceClass Name="Relationship">
<Attribute Name="Cardinality" RefAttributeType="AutomationMLBaseAttributeTypeLib/Cardinality">
<Attribute AttributeDataType="xs:unsignedInt" Name="MinOccur" />
<Attribute AttributeDataType="xs:unsignedInt" Name="MaxOccur" />
</Attribute>
<Attribute AttributeDataType="xs:boolean" Name="writable" />
</InterfaceClass>
</InterfaceClassLib>
<RoleClassLib Name="AutomationMLBaseRoleClassLib">
<Description>Automation Markup Language Base Role Class Library - Part 1</Description>
<Version>2.10.0</Version>
<RoleClass ChangeMode="state" Name="AutomationMLBaseRole">
<RoleClass Name="Group" RefBaseClassPath="AutomationMLBaseRoleClassLib/AutomationMLBaseRole">
<Attribute AttributeDataType="xs:string" Name="AssociatedFacet" RefAttributeType="AutomationMLBaseAttributeTypeLib/AssociatedFacet" />
</RoleClass>
<RoleClass Name="Facet" RefBaseClassPath="AutomationMLBaseRoleClassLib/AutomationMLBaseRole" />
<RoleClass Name="Resource" RefBaseClassPath="AutomationMLBaseRoleClassLib/AutomationMLBaseRole" />
<RoleClass Name="Product" RefBaseClassPath="AutomationMLBaseRoleClassLib/AutomationMLBaseRole" />
<RoleClass Name="Process" RefBaseClassPath="AutomationMLBaseRoleClassLib/AutomationMLBaseRole" />
<RoleClass Name="Structure" RefBaseClassPath="AutomationMLBaseRoleClassLib/AutomationMLBaseRole">
<RoleClass Name="ProductStructure" RefBaseClassPath="AutomationMLBaseRoleClassLib/AutomationMLBaseRole/Structure" />
<RoleClass Name="ProcessStructure" RefBaseClassPath="AutomationMLBaseRoleClassLib/AutomationMLBaseRole/Structure" />
<RoleClass Name="ResourceStructure" RefBaseClassPath="AutomationMLBaseRoleClassLib/AutomationMLBaseRole/Structure" />
</RoleClass>
<RoleClass Name="ExternalData" RefBaseClassPath="AutomationMLBaseRoleClassLib/AutomationMLBaseRole" />
</RoleClass>
</RoleClassLib>
<RoleClassLib Name="TwinRoleClassLib">
<Version>0</Version>
<RoleClass Name="TwinRole">
<RoleClass Name="Property">
<Attribute AttributeDataType="xs:string" Name="writable" />
</RoleClass>
<RoleClass Name="Command" />
<RoleClass Name="CommandPayload" />
</RoleClass>
</RoleClassLib>
<SystemUnitClassLib Name="SystemUnitClassLib">
<Version>0</Version>
<SystemUnitClass Name="Building" ID="5082fd25-33c8-41c5-998f-e081b24d8b2b">
<SystemUnitClass ID="c60d856f-ccd1-4fb9-954f-bb71ab9d9831" Name="Room">
<Attribute Name="aqLevel" AttributeDataType="xs:string" />
<SystemUnitClass ID="93d44518-037b-40ea-a094-ee6586004ccf" Name="Controller">
<ExternalInterface ID="492fde27-a599-4999-80d0-cc08b8d6b894" Name="sensors" />
<ExternalInterface Name="alarms" ID="50a7cd1a-19ab-48c7-8044-bf6e88db90fa" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface" />
</SystemUnitClass>
<SystemUnitClass ID="cb0b80c4-6dd6-459e-9bcb-ed26014f8b27" Name="Sensor">
<Attribute Name="type" AttributeDataType="xs:string" />
<Attribute Name="value" AttributeDataType="xs:string" />
<Attribute Name="unit" AttributeDataType="xs:string" />
<ExternalInterface Name="controller" ID="00b11cb4-e7a0-4a49-876f-205e45b97203" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface" />
<SupportedRoleClass RefRoleClassPath="" />
</SystemUnitClass>
<SystemUnitClass Name="Alarm" ID="36ec6280-aaa7-4dac-bdb6-0073c7d51d20">
<Attribute Name="isActive" AttributeDataType="xs:string" />
<ExternalInterface Name="controller" ID="972f6807-f543-4cef-864f-2d48807ec20d" RefBaseClassPath="AutomationMLInterfaceClassLib/AutomationMLBaseInterface" />
</SystemUnitClass>
</SystemUnitClass>
</SystemUnitClass>
</SystemUnitClassLib>
<AttributeTypeLib ChangeMode="state" Name="AutomationMLBaseAttributeTypeLib">
<Description>Standard Automation Markup Language Attribute Type Library</Description>
<Version>2.10.0</Version>
<Copyright>AutomationML e.V.</Copyright>
<AttributeType Name="AssociatedExternalValue">
<Attribute AttributeDataType="xs:string" Name="refCAEXAttribute" />
<Attribute AttributeDataType="xs:string" Name="refURI" />
<Attribute AttributeDataType="xs:string" Name="Direction" />
</AttributeType>
<AttributeType AttributeDataType="xs:string" Name="AssociatedFacet" />
<AttributeType Name="Cardinality">
<Attribute AttributeDataType="xs:unsignedInt" Name="MinOccur" />
<Attribute AttributeDataType="xs:unsignedInt" Name="MaxOccur" />
</AttributeType>
<AttributeType AttributeDataType="xs:string" Name="Category" />
<AttributeType AttributeDataType="xs:string" Name="Direction">
<DefaultValue>InOut</DefaultValue>
<Constraint Name="AllowedValues">
<NominalScaledType>
<RequiredValue>In</RequiredValue>
<RequiredValue>Out</RequiredValue>
<RequiredValue>InOut</RequiredValue>
</NominalScaledType>
</Constraint>
</AttributeType>
<AttributeType AttributeDataType="xs:string" Name="DocLang" />
<AttributeType AttributeDataType="" Name="Frame">
<Attribute AttributeDataType="xs:double" Name="x">
<DefaultValue>0</DefaultValue>
<Value>0</Value>
</Attribute>
<Attribute AttributeDataType="xs:double" Name="y">
<DefaultValue>0</DefaultValue>
<Value>0</Value>
</Attribute>
<Attribute AttributeDataType="xs:double" Name="z">
<DefaultValue>0</DefaultValue>
<Value>0</Value>
</Attribute>
<Attribute AttributeDataType="xs:double" Name="rx">
<DefaultValue>0</DefaultValue>
<Value>0</Value>
</Attribute>
<Attribute AttributeDataType="xs:double" Name="ry">
<DefaultValue>0</DefaultValue>
<Value>0</Value>
</Attribute>
<Attribute AttributeDataType="xs:double" Name="rz">
<DefaultValue>0</DefaultValue>
<Value>0</Value>
</Attribute>
</AttributeType>
<AttributeType AttributeDataType="xs:string" Name="ListType" />
<AttributeType AttributeDataType="xs:string" Name="LocalizedAttribute" />
<AttributeType AttributeDataType="xs:string" Name="MIMEType" />
<AttributeType AttributeDataType="xs:string" Name="OrderedListType" />
<AttributeType AttributeDataType="xs:anyURI" Name="refURI" />
</AttributeTypeLib>
<AttributeTypeLib Name="DTDLAttributeTypeLib">
<Version>0</Version>
<AttributeType AttributeDataType="xs:string" Name="Loggable" />
<AttributeType AttributeDataType="xs:string" Name="Constant" />
</AttributeTypeLib>
</CAEXFile>