|
| server-example.ctrl = dev.add_object(0, "controller") |
|
| server-example.dev = server.nodes.base_object_type.add_object_type(0, "MyDevice") |
|
| server-example.idx = server.register_namespace(uri) |
|
| server-example.level |
|
| server-example.message |
|
| server-example.multiply_node = myobj.add_method(idx, "multiply", multiply, [ua.VariantType.Int64, ua.VariantType.Int64], [ua.VariantType.Int64]) |
|
| server-example.myarrayvar = myobj.add_variable(idx, "myarrayvar", [6.7, 7.9]) |
|
| server-example.mydevice = server.nodes.objects.add_object(idx, "Device0001", dev) |
|
| server-example.mydevice_var = mydevice.get_child(["0:controller", "0:state"]) |
|
| server-example.mydtvar = myobj.add_variable(idx, "MyDateTimeVar", datetime.now()) |
|
| server-example.myevgen = server.get_event_generator() |
|
| server-example.myfolder = server.nodes.objects.add_folder(idx, "myEmptyFolder") |
|
| server-example.mymethod = myobj.add_method(idx, "mymethod", func, [ua.VariantType.Int64], [ua.VariantType.Boolean]) |
|
| server-example.myobj = server.nodes.objects.add_object(idx, "MyObject") |
|
| server-example.myprop = myobj.add_property(idx, "myproperty", "I am a property") |
|
| server-example.mystringvar = myobj.add_variable(idx, "MyStringVariable", "Really nice string") |
|
| server-example.myvar = myobj.add_variable(idx, "MyVariable", 6.7) |
|
| server-example.server = Server() |
|
| server-example.Severity |
|
string | server-example.uri = "http://examples.freeopcua.github.io" |
|