Classes | |
| class | SubHandler |
Variables | |
| client = Client("opc.tcp://localhost:53530/OPCUA/SimulationServer/") | |
| device = objects.get_child(["2:MyObjects", "2:MyDevice"]) | |
| handle = sub.subscribe_data_change(var) | |
| handler = SubHandler() | |
| level | |
| method = device.get_child("2:MyMethod") | |
| mydouble = client.get_node("ns=4;s=Double") | |
| myfloat = client.get_node("ns=4;s=Float") | |
| myint32 = client.get_node("ns=4;s=Int32") | |
| myint64 = client.get_node("ns=4;s=Int64") | |
| myuint32 = client.get_node("ns=4;s=UInt32") | |
| myuint64 = client.get_node("ns=4;s=UInt64") | |
| objects = client.get_objects_node() | |
| result = device.call_method(method, ua.Variant("sin"), ua.Variant(180, ua.VariantType.Double)) | |
| root = client.get_root_node() | |
| sub = client.create_subscription(500, handler) | |
| var = client.get_node(ua.NodeId("Random1", 5)) | |
| client_to_prosys.client = Client("opc.tcp://localhost:53530/OPCUA/SimulationServer/") |
Definition at line 26 of file client_to_prosys.py.
| client_to_prosys.device = objects.get_child(["2:MyObjects", "2:MyDevice"]) |
Definition at line 56 of file client_to_prosys.py.
| client_to_prosys.handle = sub.subscribe_data_change(var) |
Definition at line 54 of file client_to_prosys.py.
| client_to_prosys.handler = SubHandler() |
Definition at line 52 of file client_to_prosys.py.
| client_to_prosys.level |
Definition at line 25 of file client_to_prosys.py.
| client_to_prosys.method = device.get_child("2:MyMethod") |
Definition at line 57 of file client_to_prosys.py.
| client_to_prosys.mydouble = client.get_node("ns=4;s=Double") |
Definition at line 38 of file client_to_prosys.py.
| client_to_prosys.myfloat = client.get_node("ns=4;s=Float") |
Definition at line 37 of file client_to_prosys.py.
| client_to_prosys.myint32 = client.get_node("ns=4;s=Int32") |
Definition at line 41 of file client_to_prosys.py.
| client_to_prosys.myint64 = client.get_node("ns=4;s=Int64") |
Definition at line 39 of file client_to_prosys.py.
| client_to_prosys.myuint32 = client.get_node("ns=4;s=UInt32") |
Definition at line 42 of file client_to_prosys.py.
| client_to_prosys.myuint64 = client.get_node("ns=4;s=UInt64") |
Definition at line 40 of file client_to_prosys.py.
| client_to_prosys.objects = client.get_objects_node() |
Definition at line 35 of file client_to_prosys.py.
| client_to_prosys.result = device.call_method(method, ua.Variant("sin"), ua.Variant(180, ua.VariantType.Double)) |
Definition at line 58 of file client_to_prosys.py.
| client_to_prosys.root = client.get_root_node() |
Definition at line 31 of file client_to_prosys.py.
| client_to_prosys.sub = client.create_subscription(500, handler) |
Definition at line 53 of file client_to_prosys.py.
| client_to_prosys.var = client.get_node(ua.NodeId("Random1", 5)) |
Definition at line 44 of file client_to_prosys.py.