SimpleAttributeOperand QML Type
El tipo «SimpleAttributeOperand» de OPC UA. Más información...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.13 |
| Status: | Deprecated since 6.9 |
Este tipo está obsoleto desde QtOpcUa 6.9. Recomendamos encarecidamente no utilizarlo 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, apartado 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 «Severity» del tipo de evento base:
import QtOpcUa as QtOpcUa
QtOpcUa.SimpleAttributeOperand {
identifier: "Severity"
ns: "http://opcfoundation.org/UA/"
}Documentación de la propiedad
browsePath : list<OpcUaNodeId>
Ruta de navegación hasta el 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 índice utilizada para identificar un valor concreto o un subconjunto de los valores 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
Identificador del nodo de definición de tipo. El operando será de ese 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.