(client, args)
| 88 | |
| 89 | |
| 90 | def get_node(client, args): |
| 91 | node = client.get_node(args.nodeid) |
| 92 | if args.path: |
| 93 | path = args.path.split(",") |
| 94 | if node.nodeid == ua.NodeId(84, 0) and path[0] == "0:Root": |
| 95 | # let user specify root if not node given |
| 96 | path = path[1:] |
| 97 | node = node.get_child(path) |
| 98 | return node |
| 99 | |
| 100 | |
| 101 | def uaread(): |
no test coverage detected