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 中的任何命名空间都将被忽略。
© 2025 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.