Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
0
Merge Requests
0
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
Levin Zimmermann
slapos
Commits
7c413498
Commit
7c413498
authored
Mar 12, 2023
by
Levin Zimmermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
component/opcua-server: notify if any event happens
parent
b068e4cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
component/opcua-server/buildout.cfg
component/opcua-server/buildout.cfg
+2
-0
No files found.
component/opcua-server/buildout.cfg
View file @
7c413498
...
@@ -47,6 +47,8 @@ initialization =
...
@@ -47,6 +47,8 @@ initialization =
self.session.post(f"{self.uri}?data={params}")
self.session.post(f"{self.uri}?data={params}")
def datachange_notification(self, node, val, data):
def datachange_notification(self, node, val, data):
self.call(node=node, val=val, data=data)
self.call(node=node, val=val, data=data)
def event_notification(self, event):
self.call(event=event)
# #################################
# #################################
# Start OPCUA Server
# Start OPCUA Server
import asyncio
import asyncio
...
...
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