Variables | |
int | count = 0 |
tuple | end_time = datetime.utcnow() |
tuple | etype |
tuple | etype2 |
tuple | idx = server.register_namespace(uri) |
tuple | myevgen = server.get_event_generator(etype, myobj) |
tuple | myevgen2 = server.get_event_generator(etype2, myobj) |
tuple | myobj = objects.add_object(idx, "MyObject") |
tuple | objects = server.get_objects_node() |
tuple | server = Server() |
tuple | server_event_history = server_node.read_event_history(None, end_time, 0) |
tuple | server_node = server.get_node(ua.ObjectIds.Server) |
tuple | serverevgen = server.get_event_generator() |
string | uri = "http://examples.freeopcua.github.io" |
int server-events-history::count = 0 |
Definition at line 64 of file server-events-history.py.
tuple server-events-history::end_time = datetime.utcnow() |
Definition at line 75 of file server-events-history.py.
tuple server-events-history::etype |
00001 server.create_custom_event_type(2, 'MyFirstEvent', ua.ObjectIds.BaseEventType, 00002 [('MyNumericProperty', ua.VariantType.Float), 00003 ('MyStringProperty', ua.VariantType.String)])
Definition at line 28 of file server-events-history.py.
tuple server-events-history::etype2 |
00001 server.create_custom_event_type(2, 'MySecondEvent', ua.ObjectIds.BaseEventType, 00002 [('MyOtherProperty', ua.VariantType.Float)])
Definition at line 32 of file server-events-history.py.
Definition at line 18 of file server-events-history.py.
Definition at line 36 of file server-events-history.py.
Definition at line 42 of file server-events-history.py.
Definition at line 24 of file server-events-history.py.
tuple server-events-history::objects = server.get_objects_node() |
Definition at line 21 of file server-events-history.py.
tuple server-events-history::server = Server() |
Definition at line 13 of file server-events-history.py.
tuple server-events-history::server_event_history = server_node.read_event_history(None, end_time, 0) |
Definition at line 76 of file server-events-history.py.
tuple server-events-history::server_node = server.get_node(ua.ObjectIds.Server) |
Definition at line 60 of file server-events-history.py.
tuple server-events-history::serverevgen = server.get_event_generator() |
Definition at line 47 of file server-events-history.py.
string server-events-history::uri = "http://examples.freeopcua.github.io" |
Definition at line 17 of file server-events-history.py.