Functions | |
def | embed |
def | func |
def | multiply |
Variables | |
tuple | idx = server.register_namespace(uri) |
tuple | inargx = ua.Argument() |
tuple | inargy = ua.Argument() |
tuple | multiply_node = myobj.add_method(idx, "multiply", multiply, [inargx, inargy], [outarg]) |
tuple | myarrayvar = myobj.add_variable(idx, "myarrayvar", [6.7, 7.9]) |
tuple | myfolder = objects.add_folder(idx, "myEmptyFolder") |
tuple | mymethod = myobj.add_method(idx, "mymethod", func, [ua.VariantType.Int64], [ua.VariantType.Boolean]) |
tuple | myobj = objects.add_object(idx, "MyObject") |
tuple | myprop = myobj.add_property(idx, "myproperty", "I am a property") |
tuple | myvar = myobj.add_variable(idx, "MyVariable", 6.7) |
tuple | objects = server.get_objects_node() |
tuple | outarg = ua.Argument() |
tuple | server = Server() |
string | uri = "http://examples.freeopcua.github.io" |
def server-methods.embed | ( | ) |
Definition at line 10 of file server-methods.py.
def server-methods.func | ( | parent, | |
variant | |||
) |
Definition at line 21 of file server-methods.py.
def server-methods.multiply | ( | parent, | |
x, | |||
y | |||
) |
Definition at line 32 of file server-methods.py.
Definition at line 59 of file server-methods.py.
tuple server-methods::inargx = ua.Argument() |
Definition at line 74 of file server-methods.py.
tuple server-methods::inargy = ua.Argument() |
Definition at line 80 of file server-methods.py.
tuple server-methods::multiply_node = myobj.add_method(idx, "multiply", multiply, [inargx, inargy], [outarg]) |
Definition at line 93 of file server-methods.py.
Definition at line 69 of file server-methods.py.
Definition at line 65 of file server-methods.py.
tuple server-methods::mymethod = myobj.add_method(idx, "mymethod", func, [ua.VariantType.Int64], [ua.VariantType.Boolean]) |
Definition at line 72 of file server-methods.py.
Definition at line 66 of file server-methods.py.
Definition at line 71 of file server-methods.py.
Definition at line 67 of file server-methods.py.
tuple server-methods::objects = server.get_objects_node() |
Definition at line 62 of file server-methods.py.
tuple server-methods::outarg = ua.Argument() |
Definition at line 86 of file server-methods.py.
tuple server-methods::server = Server() |
Definition at line 52 of file server-methods.py.
string server-methods::uri = "http://examples.freeopcua.github.io" |
Definition at line 58 of file server-methods.py.