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
b006607e
Commit
b006607e
authored
Dec 28, 2015
by
olivier R-D
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix parsing of EventNotifier in standard address space
parent
b85e2c41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
opcua/standard_address_space_part5.py
opcua/standard_address_space_part5.py
+1
-1
opcua/xmlparser.py
opcua/xmlparser.py
+2
-1
No files found.
opcua/standard_address_space_part5.py
View file @
b006607e
...
...
@@ -19843,7 +19843,7 @@ def create_standard_address_space_Part5(server):
node.TypeDefinition = ua.NodeId.from_string("i=2004")
attrs = ua.ObjectAttributes()
attrs.DisplayName = ua.LocalizedText("Server")
attrs.EventNotifier =
False
attrs.EventNotifier =
1
node.NodeAttributes = attrs
server.add_nodes([node])
refs = []
opcua/xmlparser.py
View file @
b006607e
...
...
@@ -108,7 +108,8 @@ class XMLParser(object):
elif
key
==
"IsAbstract"
:
obj
.
abstract
=
val
elif
key
==
"EventNotifier"
:
obj
.
eventnotifier
=
True
if
val
==
"true"
else
False
print
(
"Notfiier"
,
key
,
val
)
obj
.
eventnotifier
=
1
if
val
==
"1"
else
0
elif
key
==
"ValueRank"
:
obj
.
rank
=
int
(
val
)
elif
key
==
"ArrayDimensions"
:
...
...
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