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