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 | mydevice = instantiate(server.nodes.objects, dev, bname="2:Device0001") |
tuple | mydevice_var = mydevice.get_child(["0:controller", "0:state"]) |
tuple | server = Server() |
string | uri = "http://examples.freeopcua.github.io" |
tuple server-instantiate-object::ctrl = dev.add_object(0, "controller") |
Definition at line 24 of file server-instantiate-object.py.
tuple server-instantiate-object::dev = server.nodes.base_object_type.add_object_type(0, "MyDevice") |
Definition at line 21 of file server-instantiate-object.py.
Definition at line 18 of file server-instantiate-object.py.
tuple server-instantiate-object::mydevice = instantiate(server.nodes.objects, dev, bname="2:Device0001") |
Definition at line 28 of file server-instantiate-object.py.
tuple server-instantiate-object::mydevice_var = mydevice.get_child(["0:controller", "0:state"]) |
Definition at line 30 of file server-instantiate-object.py.
tuple server-instantiate-object::server = Server() |
Definition at line 13 of file server-instantiate-object.py.
string server-instantiate-object::uri = "http://examples.freeopcua.github.io" |
Definition at line 17 of file server-instantiate-object.py.