ReadItem QML Type
指定要从服务器读取的项目。更多...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.13 |
| Status: | Deprecated since 6.9 |
自 QtOpcUa 6.9 起,此类型已弃用。我们强烈建议不要在新代码中使用它。
属性
- attribute : Constants.NodeAttribute
- indexRange : string
- nodeId : string
- ns : variant
详细说明
此类型用于指定将通过Connection::readNodeAttributes 函数从服务器读取的项目。
属性文档
attribute : Constants.NodeAttribute
确定要读取的节点的属性。
indexRange : string
用于确定要读取的属性的索引范围。如果不需要,请将此属性留空。
nodeId : string
确定要读取的节点的节点 ID。
ns : variant
确定要读取的节点的命名空间。命名空间可以通过名称或索引指定。如果指定了此属性,则将忽略节点 ID 中的任何命名空间。
© 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.