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 .