Commit 7c413498 authored by Levin Zimmermann's avatar Levin Zimmermann

component/opcua-server: notify if any event happens

parent b068e4cb
...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment