0

Eclipse milo を使用して OPCUA サーバーに接続し、browse を使用してメソッド ノードを取得し、メソッド引数の DataType を取得する方法を教えてください。

同様に: final BrowseDescription browseDesc = new BrowseDescription(nodeIdRoot, BrowseDirection.Forward, Identifiers.References, true, uint(NodeClass.Method.getValue()), uint(BrowseResultMask.All.getValue()));

BrowseResult browseResult = client.browse(browseDesc).get();
for (final ReferenceDescription rf : browseResult.getReferences()) {
    final NodeId childId = rf.getNodeId().local().orElse(null);
    List<Node> nodes = client.getAddressSpace().browse(childId).get();
    for (Node node : nodes) {
        // Now, I get the Node of method.
        // How to get the method arguments data types?
        system.out.println("need Input types {}" /*, InputArgument */);
        system.out.println("will get Output types {}" /*, OutputArgument */);
    }
}
4

1 に答える 1