Classes | Functions | Variables
server-enum Namespace Reference

Classes

class  MyEnum
 

Functions

def embed ()
 
def enum_to_stringlist (a_enum)
 

Variables

 enums = server.get_root_node().get_child(["0:Types", "0:DataTypes", "0:BaseDataType", "0:Enumeration"])
 
 es = myenum_type.add_variable(0, "EnumStrings" , enum_to_stringlist(MyEnum))
 
bool interactive = True
 
 myenum_type = enums.add_data_type(nsidx, 'MyEnum')
 
 myenum_var = myobj.add_variable(nsidx, 'MyEnum2Var', MyEnum.ok, datatype = myenum_type.nodeid)
 
 myobj = objects.add_object(nsidx, 'MyObjectWithEnumVar')
 
 nsidx = server.register_namespace(uri)
 
 objects = server.get_objects_node()
 
 server = Server()
 
string uri = "http://examples.freeopcua.github.io"
 

Function Documentation

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.

Variable Documentation

server-enum.enums = server.get_root_node().get_child(["0:Types", "0:DataTypes", "0:BaseDataType", "0:Enumeration"])

Definition at line 52 of file server-enum.py.

server-enum.es = myenum_type.add_variable(0, "EnumStrings" , enum_to_stringlist(MyEnum))

Definition at line 67 of file server-enum.py.

bool server-enum.interactive = True

Definition at line 20 of file server-enum.py.

server-enum.myenum_type = enums.add_data_type(nsidx, 'MyEnum')

Definition at line 56 of file server-enum.py.

server-enum.myenum_var = myobj.add_variable(nsidx, 'MyEnum2Var', MyEnum.ok, datatype = myenum_type.nodeid)

Definition at line 82 of file server-enum.py.

server-enum.myobj = objects.add_object(nsidx, 'MyObjectWithEnumVar')

Definition at line 79 of file server-enum.py.

server-enum.nsidx = server.register_namespace(uri)

Definition at line 47 of file server-enum.py.

server-enum.objects = server.get_objects_node()

Definition at line 76 of file server-enum.py.

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.



ros_opcua_impl_python_opcua
Author(s): Denis Štogl , Daniel Draper
autogenerated on Tue Jan 19 2021 03:12:45