SimpleAttributeOperand QML Type
O tipo SimpleAttributeOperand do OPC UA. Mais...
| Import Statement: | import QtOpcUa |
| Since: | QtOpcUa 5.13 |
| Status: | Deprecated since 6.9 |
Este tipo está obsoleto desde o QtOpcUa 6.9. Recomendamos enfaticamente que não seja utilizado em código novo.
Propriedades
- browsePath : list<OpcUaNodeId>
- indexRange : string
- nodeAttribute : Constants.NodeAttribute
- typeId : string
Descrição detalhada
O SimpleAttributeOperand é especificado na norma OPC UA 1.05, parte 4, seção 7.7.4.5. Ele é utilizado quando um atributo de nó é necessário como operando.
Por exemplo, o seguinte operando de atributo simples representa o valor do campo “Severity” do tipo de evento base:
import QtOpcUa as QtOpcUa
QtOpcUa.SimpleAttributeOperand {
identifier: "Severity"
ns: "http://opcfoundation.org/UA/"
}Documentação da propriedade
browsePath : list<OpcUaNodeId>
Caminho de navegação até o nó que contém o atributo.
import QtOpcUa as QtOpcUa
QtOpcUa.SimpleAttributeOperand {
...
browsePath: [
QtOpcUa.NodeId {
identifier: "Message"
ns: "http://opcfoundation.org/UA/"
}
...
]
}indexRange : string
Sequência de caracteres que define o intervalo de índice, utilizada para identificar um único valor ou um subconjunto dos valores do atributo.
import QtOpcUa as QtOpcUa
QtOpcUa.SimpleAttributeOperand {
...
indexRange: "0:2"
}nodeAttribute : Constants.NodeAttribute
Atributo do nó para o qual browsePath aponta. O valor padrão é Constants.NodeAttribute.Value.
import QtOpcUa as QtOpcUa
QtOpcUa.SimpleAttributeOperand {
...
nodeAttribute: QtOpcUa.Constants.NodeAttribute.Value
}typeId : string
ID do nó da definição de tipo. O operando será desse tipo ou de um de seus subtipos. O valor padrão é "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.