RelativeNodeId QML Type

Specifies a relative node by a start node and a path. 更多...

import 語句: import QtOpcUa.
Since: QtOpcUa 5.12

特性

詳細描述

Proceeding from the given start node, the server tries to match the content of the path property to any existing nodes on the server. Only if the path fully matches to exactly one single target node, it will be used. Partial or multiple matches can not be handled and are treated as error.

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

另請參閱 NodeId and Node .

特性文檔編製

path : list

Search path for the designated node. This is a list of OpcUaRelativeNodePath objects specifying the path where the target node can be found relative to the start node.

startNode : NodeId

Namespace of the node identifier. The start node specifies the node where resolving the path starts. It can be an absolute or relative node ID.

另請參閱 NodeId and RelativeNodeId .