Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
opcua-asyncio
Commits
e8152767
Commit
e8152767
authored
Sep 05, 2016
by
olivier R-D
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove leftover '"'
parent
9702a7fe
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
293 additions
and
293 deletions
+293
-293
opcua/server/standard_address_space/standard_address_space_part3.py
...er/standard_address_space/standard_address_space_part3.py
+12
-12
opcua/server/standard_address_space/standard_address_space_part4.py
...er/standard_address_space/standard_address_space_part4.py
+63
-63
opcua/server/standard_address_space/standard_address_space_part5.py
...er/standard_address_space/standard_address_space_part5.py
+192
-192
opcua/server/standard_address_space/standard_address_space_part9.py
...er/standard_address_space/standard_address_space_part9.py
+24
-24
schemas/generate_address_space.py
schemas/generate_address_space.py
+2
-2
No files found.
opcua/server/standard_address_space/standard_address_space_part3.py
View file @
e8152767
...
...
@@ -631,13 +631,13 @@ def create_standard_address_space_Part3(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=7594"
)
value
=
[]
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1"
extobj
.
Value
=
1
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"2"
extobj
.
Value
=
2
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"3"
extobj
.
Value
=
3
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -974,31 +974,31 @@ def create_standard_address_space_Part3(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=7594"
)
value
=
[]
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"0"
extobj
.
Value
=
0
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1"
extobj
.
Value
=
1
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"2"
extobj
.
Value
=
2
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"4"
extobj
.
Value
=
4
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"8"
extobj
.
Value
=
8
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"16"
extobj
.
Value
=
16
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"32"
extobj
.
Value
=
32
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"64"
extobj
.
Value
=
64
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"128"
extobj
.
Value
=
128
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
opcua/server/standard_address_space/standard_address_space_part4.py
View file @
e8152767
...
...
@@ -473,100 +473,100 @@ def create_standard_address_space_Part4(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=7594"
)
value
=
[]
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"0"
extobj
.
Value
=
0
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1"
extobj
.
Value
=
1
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"2"
extobj
.
Value
=
2
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"4"
extobj
.
Value
=
4
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"8"
extobj
.
Value
=
8
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"16"
extobj
.
Value
=
16
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"32"
extobj
.
Value
=
32
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"64"
extobj
.
Value
=
64
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"128"
extobj
.
Value
=
128
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"256"
extobj
.
Value
=
256
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"512"
extobj
.
Value
=
512
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1024"
extobj
.
Value
=
1024
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"2048"
extobj
.
Value
=
2048
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"4096"
extobj
.
Value
=
4096
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"8192"
extobj
.
Value
=
8192
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"16384"
extobj
.
Value
=
16384
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"32768"
extobj
.
Value
=
32768
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"65536"
extobj
.
Value
=
65536
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"131072"
extobj
.
Value
=
131072
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"262144"
extobj
.
Value
=
262144
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"524288"
extobj
.
Value
=
524288
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1048576"
extobj
.
Value
=
1048576
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"2097152"
extobj
.
Value
=
2097152
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"4194303"
extobj
.
Value
=
4194303
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1335396"
extobj
.
Value
=
1335396
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1335524"
extobj
.
Value
=
1335524
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1337444"
extobj
.
Value
=
1337444
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"4026999"
extobj
.
Value
=
4026999
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"3958902"
extobj
.
Value
=
3958902
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1466724"
extobj
.
Value
=
1466724
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1371236"
extobj
.
Value
=
1371236
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1335532"
extobj
.
Value
=
1335532
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -663,73 +663,73 @@ def create_standard_address_space_Part4(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=7594"
)
value
=
[]
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"0"
extobj
.
Value
=
0
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1"
extobj
.
Value
=
1
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"2"
extobj
.
Value
=
2
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"4"
extobj
.
Value
=
4
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"8"
extobj
.
Value
=
8
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"16"
extobj
.
Value
=
16
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"32"
extobj
.
Value
=
32
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"64"
extobj
.
Value
=
64
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"128"
extobj
.
Value
=
128
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"256"
extobj
.
Value
=
256
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"512"
extobj
.
Value
=
512
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1024"
extobj
.
Value
=
1024
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"2048"
extobj
.
Value
=
2048
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"4096"
extobj
.
Value
=
4096
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"8192"
extobj
.
Value
=
8192
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"16384"
extobj
.
Value
=
16384
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"32768"
extobj
.
Value
=
32768
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"65536"
extobj
.
Value
=
65536
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"131072"
extobj
.
Value
=
131072
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"262144"
extobj
.
Value
=
262144
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"524288"
extobj
.
Value
=
524288
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1048576"
extobj
.
Value
=
1048576
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"2097152"
extobj
.
Value
=
2097152
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -1070,16 +1070,16 @@ def create_standard_address_space_Part4(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=7594"
)
value
=
[]
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1"
extobj
.
Value
=
1
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"2"
extobj
.
Value
=
2
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"3"
extobj
.
Value
=
3
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"4"
extobj
.
Value
=
4
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -1127,16 +1127,16 @@ def create_standard_address_space_Part4(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=7594"
)
value
=
[]
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"1"
extobj
.
Value
=
1
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"2"
extobj
.
Value
=
2
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"3"
extobj
.
Value
=
3
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Value
=
"4"
extobj
.
Value
=
4
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
opcua/server/standard_address_space/standard_address_space_part5.py
View file @
e8152767
...
...
@@ -2425,9 +2425,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'SubscriptionId'"
extobj.Name = 'SubscriptionId'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -2455,14 +2455,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'ServerHandles'"
extobj.Name = 'ServerHandles'
extobj.ValueRank = 1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'ClientHandles'"
extobj.Name = 'ClientHandles'
extobj.ValueRank = 1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -2517,9 +2517,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'SubscriptionId'"
extobj.Name = 'SubscriptionId'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -2581,14 +2581,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'SubscriptionId'"
extobj.Name = 'SubscriptionId'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'LifetimeInHours'"
extobj.Name = 'LifetimeInHours'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -2616,9 +2616,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'RevisedLifetimeInHours'"
extobj.Name = 'RevisedLifetimeInHours'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -2673,29 +2673,29 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'State'"
extobj.Name = 'State'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=852")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'EstimatedReturnTime'"
extobj.Name = 'EstimatedReturnTime'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=13")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'SecondsTillShutdown'"
extobj.Name = 'SecondsTillShutdown'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Reason'"
extobj.Name = 'Reason'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=21")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Restart'"
extobj.Name = 'Restart'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=1")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8047,9 +8047,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'Mode'"
extobj.Name = 'Mode'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=3")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8077,9 +8077,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8134,9 +8134,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8198,14 +8198,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Length'"
extobj.Name = 'Length'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=6")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8233,9 +8233,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'Data'"
extobj.Name = 'Data'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=15")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8290,14 +8290,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Data'"
extobj.Name = 'Data'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=15")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8359,9 +8359,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8389,9 +8389,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'Position'"
extobj.Name = 'Position'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=9")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8446,14 +8446,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Position'"
extobj.Name = 'Position'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=9")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8621,9 +8621,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'DirectoryName'"
extobj.Name = 'DirectoryName'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=12")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8651,9 +8651,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'DirectoryNodeId'"
extobj.Name = 'DirectoryNodeId'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=17")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8715,14 +8715,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileName'"
extobj.Name = 'FileName'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=12")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'RequestFileOpen'"
extobj.Name = 'RequestFileOpen'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=1")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8750,14 +8750,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileNodeId'"
extobj.Name = 'FileNodeId'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=17")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8812,9 +8812,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'ObjectToDelete'"
extobj.Name = 'ObjectToDelete'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=17")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8876,24 +8876,24 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'ObjectToMoveOrCopy'"
extobj.Name = 'ObjectToMoveOrCopy'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=17")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'TargetDirectory'"
extobj.Name = 'TargetDirectory'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=17")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'CreateCopy'"
extobj.Name = 'CreateCopy'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=1")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'NewName'"
extobj.Name = 'NewName'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=12")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -8921,9 +8921,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'NewNodeId'"
extobj.Name = 'NewNodeId'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=17")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9173,9 +9173,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'Mode'"
extobj.Name = 'Mode'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=3")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9203,9 +9203,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9260,9 +9260,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9324,14 +9324,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Length'"
extobj.Name = 'Length'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=6")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9359,9 +9359,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'Data'"
extobj.Name = 'Data'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=15")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9416,14 +9416,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Data'"
extobj.Name = 'Data'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=15")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9485,9 +9485,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9515,9 +9515,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'Position'"
extobj.Name = 'Position'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=9")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9572,14 +9572,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Position'"
extobj.Name = 'Position'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=9")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9641,9 +9641,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'DirectoryName'"
extobj.Name = 'DirectoryName'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=12")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9671,9 +9671,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'DirectoryNodeId'"
extobj.Name = 'DirectoryNodeId'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=17")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9735,14 +9735,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileName'"
extobj.Name = 'FileName'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=12")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'RequestFileOpen'"
extobj.Name = 'RequestFileOpen'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=1")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9770,14 +9770,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileNodeId'"
extobj.Name = 'FileNodeId'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=17")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9832,9 +9832,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'ObjectToDelete'"
extobj.Name = 'ObjectToDelete'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=17")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9896,24 +9896,24 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'ObjectToMoveOrCopy'"
extobj.Name = 'ObjectToMoveOrCopy'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=17")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'TargetDirectory'"
extobj.Name = 'TargetDirectory'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=17")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'CreateCopy'"
extobj.Name = 'CreateCopy'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=1")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'NewName'"
extobj.Name = 'NewName'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=12")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -9941,9 +9941,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'NewNodeId'"
extobj.Name = 'NewNodeId'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=17")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -10476,9 +10476,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'Mode'"
extobj.Name = 'Mode'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=3")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -10506,9 +10506,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -10563,9 +10563,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -10627,14 +10627,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Length'"
extobj.Name = 'Length'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=6")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -10662,9 +10662,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'Data'"
extobj.Name = 'Data'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=15")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -10719,14 +10719,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Data'"
extobj.Name = 'Data'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=15")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -10788,9 +10788,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -10818,9 +10818,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'Position'"
extobj.Name = 'Position'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=9")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -10875,14 +10875,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Position'"
extobj.Name = 'Position'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=9")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -11401,9 +11401,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'Mode'"
extobj.Name = 'Mode'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=3")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -11431,9 +11431,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -11488,9 +11488,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -11552,14 +11552,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Length'"
extobj.Name = 'Length'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=6")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -11587,9 +11587,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'Data'"
extobj.Name = 'Data'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=15")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -11644,14 +11644,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Data'"
extobj.Name = 'Data'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=15")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -11713,9 +11713,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -11743,9 +11743,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'Position'"
extobj.Name = 'Position'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=9")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -11800,14 +11800,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'FileHandle'"
extobj.Name = 'FileHandle'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Position'"
extobj.Name = 'Position'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=9")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -22020,9 +22020,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'SubscriptionId'"
extobj.Name = 'SubscriptionId'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -22041,14 +22041,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'ServerHandles'"
extobj.Name = 'ServerHandles'
extobj.ValueRank = 1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'ClientHandles'"
extobj.Name = 'ClientHandles'
extobj.ValueRank = 1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -22087,9 +22087,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'SubscriptionId'"
extobj.Name = 'SubscriptionId'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -22135,14 +22135,14 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'SubscriptionId'"
extobj.Name = 'SubscriptionId'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'LifetimeInHours'"
extobj.Name = 'LifetimeInHours'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -22161,9 +22161,9 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'RevisedLifetimeInHours'"
extobj.Name = 'RevisedLifetimeInHours'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
...
...
@@ -22202,29 +22202,29 @@ def create_standard_address_space_Part5(server):
attrs.DataType = ua.NodeId.from_string("i=296")
value = []
extobj = ua.Argument()
extobj.Name = "'State'"
extobj.Name = 'State'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=852")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'EstimatedReturnTime'"
extobj.Name = 'EstimatedReturnTime'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=13")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'SecondsTillShutdown'"
extobj.Name = 'SecondsTillShutdown'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=7")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Reason'"
extobj.Name = 'Reason'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=21")
extobj.ValueRank = "-1"
value.append(extobj)
extobj = ua.Argument()
extobj.Name = "'Restart'"
extobj.Name = 'Restart'
extobj.ValueRank = -1
extobj.DataType = ua.NodeId.from_string("i=1")
extobj.ValueRank = "-1"
value.append(extobj)
attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
attrs.ValueRank = 1
opcua/server/standard_address_space/standard_address_space_part9.py
View file @
e8152767
...
...
@@ -905,14 +905,14 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Name
=
"'EventId'"
extobj
.
Name
=
'EventId'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=15"
)
extobj
.
ValueRank
=
"-1"
value
.
append
(
extobj
)
extobj
=
ua
.
Argument
()
extobj
.
Name
=
"'Comment'"
extobj
.
Name
=
'Comment'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=21"
)
extobj
.
ValueRank
=
"-1"
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -974,9 +974,9 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Name
=
"'SubscriptionId'"
extobj
.
Name
=
'SubscriptionId'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=288"
)
extobj
.
ValueRank
=
"-1"
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -1038,14 +1038,14 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Name
=
"'SubscriptionId'"
extobj
.
Name
=
'SubscriptionId'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=288"
)
extobj
.
ValueRank
=
"-1"
value
.
append
(
extobj
)
extobj
=
ua
.
Argument
()
extobj
.
Name
=
"'MonitoredItemId'"
extobj
.
Name
=
'MonitoredItemId'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=288"
)
extobj
.
ValueRank
=
"-1"
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -1465,9 +1465,9 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Name
=
"'SelectedResponse'"
extobj
.
Name
=
'SelectedResponse'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=6"
)
extobj
.
ValueRank
=
"-1"
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -1811,14 +1811,14 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Name
=
"'EventId'"
extobj
.
Name
=
'EventId'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=15"
)
extobj
.
ValueRank
=
"-1"
value
.
append
(
extobj
)
extobj
=
ua
.
Argument
()
extobj
.
Name
=
"'Comment'"
extobj
.
Name
=
'Comment'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=21"
)
extobj
.
ValueRank
=
"-1"
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -1880,14 +1880,14 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Name
=
"'EventId'"
extobj
.
Name
=
'EventId'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=15"
)
extobj
.
ValueRank
=
"-1"
value
.
append
(
extobj
)
extobj
=
ua
.
Argument
()
extobj
.
Name
=
"'Comment'"
extobj
.
Name
=
'Comment'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=21"
)
extobj
.
ValueRank
=
"-1"
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -2612,9 +2612,9 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Name
=
"'ShelvingTime'"
extobj
.
Name
=
'ShelvingTime'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=290"
)
extobj
.
ValueRank
=
"-1"
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -3477,9 +3477,9 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Name
=
"'ShelvingTime'"
extobj
.
Name
=
'ShelvingTime'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=290"
)
extobj
.
ValueRank
=
"-1"
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
schemas/generate_address_space.py
View file @
e8152767
...
...
@@ -169,7 +169,7 @@ def create_standard_address_space_%s(server):
for
k
,
v
in
val
.
items
():
if
type
(
v
)
is
str
:
val
=
_to_val
([
extobj
.
objname
],
k
,
v
)
self
.
writecode
(
indent
,
'extobj.{} =
"{}"
'
.
format
(
k
,
val
))
self
.
writecode
(
indent
,
'extobj.{} =
{}
'
.
format
(
k
,
val
))
else
:
if
k
==
"DataType"
:
#hack for strange nodeid xml format
self
.
writecode
(
indent
,
'extobj.{} = ua.NodeId.from_string("{}")'
.
format
(
k
,
v
[
"Identifier"
]))
...
...
@@ -177,7 +177,7 @@ def create_standard_address_space_%s(server):
for
k2
,
v2
in
v
.
items
():
val2
=
_to_val
([
extobj
.
objname
,
k
],
k2
,
v2
)
self
.
writecode
(
indent
,
'extobj.{}.{} =
"{}"
'
.
format
(
k
,
k2
,
val2
))
self
.
writecode
(
indent
,
'extobj.{}.{} =
{}
'
.
format
(
k
,
k2
,
val2
))
def
make_variable_code
(
self
,
obj
):
indent
=
" "
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment