Variables
server-custom-object Namespace Reference

Variables

 idx = server.register_namespace(uri)
 
 mycustomobj_type = types.add_object_type(idx, "MyCustomObject")
 
 myobj = objects.add_object(idx, "MyObject")
 
 myobject1_type_nodeid = ua.NodeId.from_string('ns=1;i=1002')
 
 myobject2_type_nodeid = server.get_root_node().get_child(["0:Types", "0:ObjectTypes", "0:BaseObjectType", "1:MyObjectType"]).nodeid
 
 myobject3_type_nodeid = server.get_node(ua.ObjectIds.BaseObjectType).get_child(["1:MyObjectType"]).nodeid
 
 object_type_to_derive_from
 
 objects = server.get_objects_node()
 
 server = Server()
 
 types = server.get_node(ua.ObjectIds.BaseObjectType)
 
string uri = "http://examples.freeopcua.github.io"
 

Variable Documentation

server-custom-object.idx = server.register_namespace(uri)

Definition at line 23 of file server-custom-object.py.

server-custom-object.mycustomobj_type = types.add_object_type(idx, "MyCustomObject")

Definition at line 41 of file server-custom-object.py.

server-custom-object.myobj = objects.add_object(idx, "MyObject")

Definition at line 30 of file server-custom-object.py.

server-custom-object.myobject1_type_nodeid = ua.NodeId.from_string('ns=1;i=1002')

Definition at line 58 of file server-custom-object.py.

server-custom-object.myobject2_type_nodeid = server.get_root_node().get_child(["0:Types", "0:ObjectTypes", "0:BaseObjectType", "1:MyObjectType"]).nodeid

Definition at line 59 of file server-custom-object.py.

server-custom-object.myobject3_type_nodeid = server.get_node(ua.ObjectIds.BaseObjectType).get_child(["1:MyObjectType"]).nodeid

Definition at line 60 of file server-custom-object.py.

server-custom-object.object_type_to_derive_from
Initial value:
1 = server.get_root_node().get_child(["0:Types",
2  "0:ObjectTypes",
3  "0:BaseObjectType"])

Definition at line 38 of file server-custom-object.py.

server-custom-object.objects = server.get_objects_node()

Definition at line 26 of file server-custom-object.py.

server-custom-object.server = Server()

Definition at line 18 of file server-custom-object.py.

server-custom-object.types = server.get_node(ua.ObjectIds.BaseObjectType)

Definition at line 36 of file server-custom-object.py.

string server-custom-object.uri = "http://examples.freeopcua.github.io"

Definition at line 22 of file server-custom-object.py.



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