RelativeNodePath QML Type
指定相对节点路径元素。更多
Import Statement: | import QtOpcUa |
Since: | QtOpcUa 5.12 |
Status: | Deprecated since 6.9 |
自 QtOpcUa 6.9 起,该类型已被弃用。我们强烈建议不要在新代码中使用它。
属性
- browseName : NodeId
- includeSubtypes : bool
- isInverse : bool
- ns : NodeId
- referenceType : QOpcUa::ReferenceTypeId
详细说明
import QtOpcUa as QtOpcUa QtOpcUa.RelativeNodePath { ns: "Test Namespace" browseName: "SomeName" }
另请参见 Node,NodeId, 和RelativeNodeId 。
属性文档
browseName : NodeId |
该路径元素的浏览名称。
includeSubtypes : bool |
匹配此路径元素时是否包含子类型。此属性的默认值是true
。
isInverse : bool |
要跟踪的引用是否为反向引用。该属性的默认值是false
。
ns : NodeId |
该路径元素的命名空间名称。标识符可以是数字索引,也可以是字符串名称。可转换为整数的字符串被视为名称空间索引。
referenceType : QOpcUa::ReferenceTypeId |
匹配此路径元素时的引用类型。可以是QOpcUa::ReferenceTypeId 或NodeId 。该属性的默认值是Constants.ReferenceTypeId.References
。
© 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.