SimpleAttributeOperand QML Type
El tipo SimpleAttributeOperand de OPC UA. Más...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.13 |
| Status: | Deprecated since 6.9 |
Este tipo está obsoleto desde QtOpcUa 6.9. Desaconsejamos su uso en código nuevo.
Propiedades
- browsePath : list<OpcUaNodeId>
- indexRange : string
- nodeAttribute : Constants.NodeAttribute
- typeId : string
Descripción detallada
El SimpleAttributeOperand se especifica en OPC UA 1.05 parte 4, 7.7.4.5. Se utiliza cuando se requiere un atributo de nodo como operando.
Por ejemplo, el siguiente operando de atributo simple representa el valor del campo "Severidad" del tipo de evento base:
import QtOpcUa as QtOpcUa QtOpcUa.SimpleAttributeOperand { identifier: "Severity" ns: "http://opcfoundation.org/UA/" }
Propiedad Documentación
browsePath : list<OpcUaNodeId>
Ruta de acceso al nodo que contiene el atributo.
import QtOpcUa as QtOpcUa QtOpcUa.SimpleAttributeOperand { ... browsePath: [ QtOpcUa.NodeId { identifier: "Message" ns: "http://opcfoundation.org/UA/" } ... ] }
indexRange : string
Cadena de rango de índices utilizada para identificar un único valor o subconjunto del valor del atributo.
import QtOpcUa as QtOpcUa QtOpcUa.SimpleAttributeOperand { ... indexRange: "0:2" }
nodeAttribute : Constants.NodeAttribute
Atributo del nodo al que apunta browsePath. El valor por defecto es Constants.NodeAttribute.Value.
import QtOpcUa as QtOpcUa QtOpcUa.SimpleAttributeOperand { ... nodeAttribute: QtOpcUa.Constants.NodeAttribute.Value }
typeId : string
Id del nodo de definición del tipo. El operando será del tipo o de uno de sus subtipos. El valor por defecto es "ns=0;i=2041".
import QtOpcUa as QtOpcUa QtOpcUa.SimpleAttributeOperand { ... typeId: "ns=0;i=2041" }
© 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.