ValueNode QML Type
서버의 값 노드를 나타냅니다. 더 보기...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.12 |
| Inherits: | |
| Status: | Deprecated since 6.9 |
이 유형은 QtOpcUa 6.9부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않을 것을 강력히 권장합니다.
속성
- serverTimestamp : Date
- sourceTimestamp : Date
- value : variant
- valueType : variant
상세 설명
import QtOpcUa as QtOpcUa
QtOpcUa.ValueNode {
nodeId: QtOpcUa.NodeId {
ns: "Test Namespace"
identifier: "s=TestName"
}
connection: myConnection
}서버에서 값의 변화를 추적하기 위해 서버에 구독이 생성됩니다.
NodeId, Connection 및 Node도 참조하십시오 .
속성 설명서
serverTimestamp : Date [read-only]
value 속성의 서버 타임스탬프.
sourceTimestamp : Date [read-only]
value 속성의 소스 타임스탬프.
value : variant
이 노드의 값입니다. 이 속성을 읽거나 쓰면 서버에 있는 노드에 접근하게 됩니다.
valueType : variant
이 노드의 유형을 입력하세요. 초기 값은 ` QtOpcUa.Constants.Undefined `이며, 첫 번째 연결이 설정될 때 서버에서 가져옵니다. 모든 값은 지정된 유형으로 서버에 기록됩니다.
© 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.