forked from FreeOpcUa/opcua-modeler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.xml
77 lines (77 loc) · 3.94 KB
/
example.xml
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
<?xml version="1.0" ?>
<UANodeSet xmlns="http://opcfoundation.org/UA/2011/03/UANodeSet.xsd" xmlns:uax="http://opcfoundation.org/UA/2008/02/Types.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<NamespaceUris>
<Uri>urn:freeopcua:python:server</Uri>
<Uri>urx:mycompany:myproject</Uri>
</NamespaceUris>
<Aliases>
<Alias Alias="HasComponent">ns=1;i=2004</Alias>
<Alias Alias="Float">i=10</Alias>
<Alias Alias="HasSubtype">i=58</Alias>
<Alias Alias="HasTypeDefinition">i=63</Alias>
<Alias Alias="String">i=12</Alias>
<Alias Alias="Organizes">i=85</Alias>
<Alias Alias="HasProperty">ns=1;i=2004</Alias>
</Aliases>
<UAObjectType BrowseName="1:MyDevice" IsAbstract="false" NodeId="ns=1;i=2001" ParentNodeId="i=58">
<DisplayName>MyDevice</DisplayName>
<References>
<Reference IsForward="false" ReferenceType="HasSubtype">i=58</Reference>
<Reference IsForward="true" ReferenceType="HasComponent">ns=1;i=2002</Reference>
</References>
</UAObjectType>
<UAObject BrowseName="0:obj1" NodeId="ns=1;i=2004" ParentNodeId="i=85">
<DisplayName>BaseObjectType</DisplayName>
<References>
<Reference IsForward="false" ReferenceType="Organizes">i=85</Reference>
<Reference IsForward="true" ReferenceType="HasTypeDefinition">i=58</Reference>
<Reference IsForward="true" ReferenceType="HasComponent">ns=1;i=2005</Reference>
<Reference IsForward="true" ReferenceType="HasProperty">ns=1;i=2006</Reference>
<Reference IsForward="true" ReferenceType="HasComponent">ns=1;i=2003</Reference>
</References>
</UAObject>
<UAVariable AccessLevel="0" BrowseName="1:var1" DataType="Float" NodeId="ns=1;i=2005" ParentNodeId="ns=1;i=2004" UserAccessLevel="0" ValueRank="-1">
<DisplayName>var1</DisplayName>
<Value>
<uax:Float>9.99</uax:Float>
</Value>
<References>
<Reference IsForward="false" ReferenceType="HasComponent">ns=1;i=2004</Reference>
<Reference IsForward="true" ReferenceType="HasTypeDefinition">i=63</Reference>
</References>
</UAVariable>
<UAVariable AccessLevel="0" BrowseName="1:myproperty" DataType="String" NodeId="ns=1;i=2006" ParentNodeId="ns=1;i=2004" UserAccessLevel="0" ValueRank="-1">
<DisplayName>MyProperty</DisplayName>
<Value>
<uax:String>property_value</uax:String>
</Value>
<References>
<Reference IsForward="false" ReferenceType="HasProperty">ns=1;i=2004</Reference>
<Reference IsForward="true" ReferenceType="HasTypeDefinition">i=68</Reference>
</References>
</UAVariable>
<UAVariable AccessLevel="0" BrowseName="1:DeviceName" DataType="String" NodeId="ns=1;i=2002" ParentNodeId="ns=1;i=2001" UserAccessLevel="0" ValueRank="-1">
<DisplayName>DeviceName</DisplayName>
<Value>
<uax:String>MyName</uax:String>
</Value>
<References>
<Reference IsForward="false" ReferenceType="HasComponent">ns=1;i=2001</Reference>
<Reference IsForward="true" ReferenceType="HasTypeDefinition">i=63</Reference>
</References>
</UAVariable>
<UAVariable BrowseName="1:varList" DataType="String" Description="b'varList'" NodeId="ns=1;i=2003" ParentNodeId="ns=1;i=2004" ValueRank="-1">
<DisplayName>varList</DisplayName>
<Value>
<uax:ListOfString>
<uax:String>en</uax:String>
<uax:String>to</uax:String>
<uax:String>tre</uax:String>
</uax:ListOfString>
</Value>
<References>
<Reference IsForward="false" ReferenceType="HasComponent">ns=1;i=2004</Reference>
<Reference IsForward="true" ReferenceType="HasTypeDefinition">i=63</Reference>
</References>
</UAVariable>
</UANodeSet>