ReadResult QML Type
包含从服务器读取后的结果数据。更多...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.13 |
| Status: | Deprecated since 6.9 |
自 QtOpcUa 6.9 起,此类型已弃用。我们强烈建议在新代码中不要使用它。
属性
- attribute : Constants.NodeAttribute
- indexRange : string
- namespaceName : string
- nodeId : string
- serverTimestamp : datetime
- sourceTimestamp : datetime
- status : Status
- value : variant
详细说明
此类型用于传递使用Connection::readNodeAttributes 函数从服务器读取后的数据。
属性文档
attribute : Constants.NodeAttribute [read-only]
已读取数据的节点属性。
indexRange : string [read-only]
已读取数据的索引范围。
namespaceName : string [read-only]
已读取节点的命名空间名称。
nodeId : string [read-only]
已读取节点的节点 ID。
serverTimestamp : datetime [read-only]
读取的数据的服务器时间戳。
sourceTimestamp : datetime [read-only]
已读取数据的源时间戳。
status : Status [read-only]
此ReadResult 的结果状态。在使用此ReadResult 的任何值之前,应先检查Status.isGood 的状态,以确保服务器提供的数据有效。
value : variant [read-only]
请求读取的实际数据。
© 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.