Classes | |
class | MyEnum |
Functions | |
def | embed |
def | enum_to_stringlist |
Variables | |
tuple | enums = server.get_root_node() |
tuple | es = myenum_type.add_variable(0, "EnumStrings" , enum_to_stringlist(MyEnum)) |
interactive = True | |
tuple | myenum_type = enums.add_data_type(nsidx, 'MyEnum') |
tuple | myenum_var = myobj.add_variable(nsidx, 'MyEnum2Var', MyEnum.ok, datatype = myenum_type.nodeid) |
tuple | myobj = objects.add_object(nsidx, 'MyObjectWithEnumVar') |
tuple | nsidx = server.register_namespace(uri) |
tuple | objects = server.get_objects_node() |
tuple | server = Server() |
string | uri = "http://examples.freeopcua.github.io" |
def server-enum.embed | ( | ) |
Definition at line 14 of file server-enum.py.
def server-enum.enum_to_stringlist | ( | a_enum | ) |
Definition at line 34 of file server-enum.py.
tuple server-enum::enums = server.get_root_node() |
Definition at line 52 of file server-enum.py.
Definition at line 67 of file server-enum.py.
server-enum::interactive = True |
Definition at line 20 of file server-enum.py.
Definition at line 56 of file server-enum.py.
tuple server-enum::myenum_var = myobj.add_variable(nsidx, 'MyEnum2Var', MyEnum.ok, datatype = myenum_type.nodeid) |
Definition at line 82 of file server-enum.py.
Definition at line 79 of file server-enum.py.
Definition at line 47 of file server-enum.py.
tuple server-enum::objects = server.get_objects_node() |
Definition at line 76 of file server-enum.py.
tuple server-enum::server = Server() |
Definition at line 42 of file server-enum.py.
string server-enum::uri = "http://examples.freeopcua.github.io" |
Definition at line 46 of file server-enum.py.