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
95aab64e
Commit
95aab64e
authored
Sep 10, 2016
by
olivier R-D
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit generated code
parent
98cda158
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
262 additions
and
108 deletions
+262
-108
opcua/server/standard_address_space/standard_address_space_part3.py
...er/standard_address_space/standard_address_space_part3.py
+24
-0
opcua/server/standard_address_space/standard_address_space_part4.py
...er/standard_address_space/standard_address_space_part4.py
+118
-0
opcua/server/standard_address_space/standard_address_space_part5.py
...er/standard_address_space/standard_address_space_part5.py
+96
-96
opcua/server/standard_address_space/standard_address_space_part9.py
...er/standard_address_space/standard_address_space_part9.py
+24
-12
No files found.
opcua/server/standard_address_space/standard_address_space_part3.py
View file @
95aab64e
...
...
@@ -631,12 +631,18 @@ def create_standard_address_space_Part3(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=7594"
)
value
=
[]
extobj
=
ua
.
EnumValueType
()
extobj
.
Description
.
Text
=
b'The BrowseName must appear in all instances of the type.'
extobj
.
DisplayName
.
Text
=
b'Mandatory'
extobj
.
Value
=
1
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Description
.
Text
=
b'The BrowseName may appear in an instance of the type.'
extobj
.
DisplayName
.
Text
=
b'Optional'
extobj
.
Value
=
2
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Description
.
Text
=
b'The modelling rule defines a constraint and the BrowseName is not used in an instance of the type.'
extobj
.
DisplayName
.
Text
=
b'Constraint'
extobj
.
Value
=
3
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
...
...
@@ -974,30 +980,48 @@ def create_standard_address_space_Part3(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=7594"
)
value
=
[]
extobj
=
ua
.
EnumValueType
()
extobj
.
Description
.
Text
=
b'No classes are selected.'
extobj
.
DisplayName
.
Text
=
b'Unspecified'
extobj
.
Value
=
0
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Description
.
Text
=
b'The node is an object.'
extobj
.
DisplayName
.
Text
=
b'Object'
extobj
.
Value
=
1
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Description
.
Text
=
b'The node is a variable.'
extobj
.
DisplayName
.
Text
=
b'Variable'
extobj
.
Value
=
2
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Description
.
Text
=
b'The node is a method.'
extobj
.
DisplayName
.
Text
=
b'Method'
extobj
.
Value
=
4
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Description
.
Text
=
b'The node is an object type.'
extobj
.
DisplayName
.
Text
=
b'ObjectType'
extobj
.
Value
=
8
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Description
.
Text
=
b'The node is an variable type.'
extobj
.
DisplayName
.
Text
=
b'VariableType'
extobj
.
Value
=
16
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Description
.
Text
=
b'The node is a reference type.'
extobj
.
DisplayName
.
Text
=
b'ReferenceType'
extobj
.
Value
=
32
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Description
.
Text
=
b'The node is a data type.'
extobj
.
DisplayName
.
Text
=
b'DataType'
extobj
.
Value
=
64
value
.
append
(
extobj
)
extobj
=
ua
.
EnumValueType
()
extobj
.
Description
.
Text
=
b'The node is a view.'
extobj
.
DisplayName
.
Text
=
b'View'
extobj
.
Value
=
128
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
...
...
opcua/server/standard_address_space/standard_address_space_part4.py
View file @
95aab64e
This diff is collapsed.
Click to expand it.
opcua/server/standard_address_space/standard_address_space_part5.py
View file @
95aab64e
This diff is collapsed.
Click to expand it.
opcua/server/standard_address_space/standard_address_space_part9.py
View file @
95aab64e
...
...
@@ -905,14 +905,16 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Description
.
Text
=
b'The identifier for the event to comment.'
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=15"
)
extobj
.
Name
=
'EventId'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=15"
)
value
.
append
(
extobj
)
extobj
=
ua
.
Argument
()
extobj
.
Description
.
Text
=
b'The comment to add to the condition.'
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=21"
)
extobj
.
Name
=
'Comment'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=21"
)
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -974,9 +976,10 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Description
.
Text
=
b'The identifier for the suscription to refresh.'
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=288"
)
extobj
.
Name
=
'SubscriptionId'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=288"
)
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -1038,14 +1041,16 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Description
.
Text
=
b'The identifier for the suscription to refresh.'
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=288"
)
extobj
.
Name
=
'SubscriptionId'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=288"
)
value
.
append
(
extobj
)
extobj
=
ua
.
Argument
()
extobj
.
Description
.
Text
=
b'The identifier for the monitored item to refresh.'
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=288"
)
extobj
.
Name
=
'MonitoredItemId'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=288"
)
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -1465,9 +1470,10 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Description
.
Text
=
b'The response to the dialog condition.'
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=6"
)
extobj
.
Name
=
'SelectedResponse'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=6"
)
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -1811,14 +1817,16 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Description
.
Text
=
b'The identifier for the event to comment.'
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=15"
)
extobj
.
Name
=
'EventId'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=15"
)
value
.
append
(
extobj
)
extobj
=
ua
.
Argument
()
extobj
.
Description
.
Text
=
b'The comment to add to the condition.'
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=21"
)
extobj
.
Name
=
'Comment'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=21"
)
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -1880,14 +1888,16 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Description
.
Text
=
b'The identifier for the event to comment.'
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=15"
)
extobj
.
Name
=
'EventId'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=15"
)
value
.
append
(
extobj
)
extobj
=
ua
.
Argument
()
extobj
.
Description
.
Text
=
b'The comment to add to the condition.'
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=21"
)
extobj
.
Name
=
'Comment'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=21"
)
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -2612,9 +2622,10 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Description
.
Text
=
b'If not 0, this parameter specifies a fixed time for which the Alarm is to be shelved.'
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=290"
)
extobj
.
Name
=
'ShelvingTime'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=290"
)
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
@@ -3477,9 +3488,10 @@ def create_standard_address_space_Part9(server):
attrs
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=296"
)
value
=
[]
extobj
=
ua
.
Argument
()
extobj
.
Description
.
Text
=
b'If not 0, this parameter specifies a fixed time for which the Alarm is to be shelved.'
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=290"
)
extobj
.
Name
=
'ShelvingTime'
extobj
.
ValueRank
=
-
1
extobj
.
DataType
=
ua
.
NodeId
.
from_string
(
"i=290"
)
value
.
append
(
extobj
)
attrs
.
Value
=
ua
.
Variant
(
value
,
ua
.
VariantType
.
ExtensionObject
)
attrs
.
ValueRank
=
1
...
...
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