Classes | |
class | SubHandler |
Functions | |
def | embed |
def | func |
def | multiply |
Variables | |
tuple | ctrl = dev.add_object(0, "controller") |
tuple | dev = server.nodes.base_object_type.add_object_type(0, "MyDevice") |
tuple | idx = server.register_namespace(uri) |
tuple | multiply_node = myobj.add_method(idx, "multiply", multiply, [ua.VariantType.Int64, ua.VariantType.Int64], [ua.VariantType.Int64]) |
tuple | myarrayvar = myobj.add_variable(idx, "myarrayvar", [6.7, 7.9]) |
tuple | mydevice = server.nodes.objects.add_object(idx, "Device0001", dev) |
tuple | mydevice_var = mydevice.get_child(["0:controller", "0:state"]) |
tuple | mydtvar = myobj.add_variable(idx, "MyDateTimeVar", datetime.now()) |
tuple | myevgen = server.get_event_generator() |
tuple | myfolder = server.nodes.objects.add_folder(idx, "myEmptyFolder") |
tuple | mymethod = myobj.add_method(idx, "mymethod", func, [ua.VariantType.Int64], [ua.VariantType.Boolean]) |
tuple | myobj = server.nodes.objects.add_object(idx, "MyObject") |
tuple | myprop = myobj.add_property(idx, "myproperty", "I am a property") |
tuple | mystringvar = myobj.add_variable(idx, "MyStringVariable", "Really nice string") |
tuple | myvar = myobj.add_variable(idx, "MyVariable", 6.7) |
tuple | server = Server() |
string | uri = "http://examples.freeopcua.github.io" |
def server-example.embed | ( | ) |
Definition at line 11 of file server-example.py.
def server-example.func | ( | parent, | |
variant | |||
) |
Definition at line 36 of file server-example.py.
def server-example.multiply | ( | parent, | |
x, | |||
y | |||
) |
Definition at line 47 of file server-example.py.
tuple server-example::ctrl = dev.add_object(0, "controller") |
Definition at line 79 of file server-example.py.
tuple server-example::dev = server.nodes.base_object_type.add_object_type(0, "MyDevice") |
Definition at line 76 of file server-example.py.
Definition at line 73 of file server-example.py.
tuple server-example::multiply_node = myobj.add_method(idx, "multiply", multiply, [ua.VariantType.Int64, ua.VariantType.Int64], [ua.VariantType.Int64]) |
Definition at line 101 of file server-example.py.
Definition at line 97 of file server-example.py.
Definition at line 87 of file server-example.py.
tuple server-example::mydevice_var = mydevice.get_child(["0:controller", "0:state"]) |
Definition at line 88 of file server-example.py.
Definition at line 95 of file server-example.py.
tuple server-example::myevgen = server.get_event_generator() |
Definition at line 109 of file server-example.py.
Definition at line 85 of file server-example.py.
tuple server-example::mymethod = myobj.add_method(idx, "mymethod", func, [ua.VariantType.Int64], [ua.VariantType.Boolean]) |
Definition at line 100 of file server-example.py.
Definition at line 90 of file server-example.py.
Definition at line 99 of file server-example.py.
tuple server-example::mystringvar = myobj.add_variable(idx, "MyStringVariable", "Really nice string") |
Definition at line 93 of file server-example.py.
Definition at line 91 of file server-example.py.
tuple server-example::server = Server() |
Definition at line 65 of file server-example.py.
string server-example::uri = "http://examples.freeopcua.github.io" |
Definition at line 72 of file server-example.py.