RelativeNodeId QML Type
시작 노드와 경로를 통해 상대 노드를 지정합니다. 더 보기...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.12 |
| Status: | Deprecated since 6.9 |
이 유형은 QtOpcUa 6.9부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것을 강력히 권장합니다.
속성
신호
상세 설명
서버는 지정된 시작 노드에서 출발하여, path 속성의 내용을 서버에 존재하는 노드들과 일치시키려고 시도합니다. 경로가 정확히 하나의 대상 노드와 완전히 일치하는 경우에만 해당 경로가 사용됩니다. 부분 일치나 다중 일치는 처리할 수 없으며 오류로 간주됩니다.
import QtOpcUa as QtOpcUa
QtOpcUa.RelativeNodeId {
startNode: QtOpcUa.RelativeNodeId {
identifier: "s=Example.Node"
ns: "Example Namespace"
}
path: [ QtOpcUa.RelativeNodePath {
ns: "Test Namespace"
browseName: "SomeName"
}
...
]
}
}속성 문서
path : list
지정된 노드의 검색 경로입니다. 이는 시작 노드를 기준으로 대상 노드가 위치한 경로를 지정하는 ` OpcUaRelativeNodePath ` 객체들의 목록입니다.
startNode : NodeId
노드 식별자의 네임스페이스입니다. 시작 노드는 경로 확인이 시작되는 노드를 지정합니다. 절대 노드 ID나 상대 노드 ID일 수 있습니다.
NodeId 및 RelativeNodeId도 참조하십시오 .
Signal 문서
nodeChanged()
기본 노드가 변경되었을 때 발생합니다. 이는 네임스페이스나 식별자가 변경되었을 때 발생합니다.
참고: 해당 핸들러는 onNodeChanged 입니다.
© 2026 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.