RelativeNodeId QML Type

開始ノードとパスで相対ノードを指定します。詳細...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.12

プロパティ

詳細説明

指定された開始ノードから順に、サーバは path プロパティの内容とサーバ上の既存のノードとの一致を試みます。パスが1つのターゲットノードに完全に一致する場合のみ、そのパスが使用されます。部分一致や複数一致は処理できず、エラーとして扱われます。

import QtOpcUa as QtOpcUa

QtOpcUa.RelativeNodeId {
    startNode: QtOpcUa.RelativeNodeId {
            identifier: "s=Example.Node"
            ns: "Example Namespace"
         }
    path: [ QtOpcUa.RelativeNodePath {
                ns: "Test Namespace"
                browseName: "SomeName"
            }
            ...
        ]
    }
}

NodeId およびNodeも参照してください

プロパティ ドキュメント

path : list

指定ノードの検索パス。これはOpcUaRelativeNodePath オブジェクトのリストで、開始ノードから相対的にターゲットノードが見つかるパスを指定します。


startNode : NodeId

ノード識別子の名前空間。開始ノードは、パスの解決を開始するノードを指定する。絶対ノード ID でも相対ノード ID でもかまいません。

NodeId およびRelativeNodeIdも参照


© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.