Nesta página

AttributeOperand QML Type

O tipo AttributeOperand 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ódigos novos.

Propriedades

Descrição detalhada

O AttributeOperand é definido na norma OPC UA 1.05, parte 4, seção 7.7.4.4. Ele tem a mesma finalidade que um SimpleAttributeOperand, mas possui mais opções configuráveis.

Documentação da propriedade

alias : string

Nome alternativo para o operando. Isso permite usar essa instância como operando para outras operações no filtro.

browsePath : list<OpcUaNodeId>

Caminho de navegação até o nó que contém o atributo.

import QtOpcUa as QtOpcUa

QtOpcUa.AttributeOperand {
    ...
    browsePath: [
        QtOpcUa.NodeId {
            identifier: "Message"
            ns: "http://opcfoundation.org/UA/"
         }
         ...
    ]
}

indexRange : string

Sequência de intervalo de índice usada para identificar um único valor ou um subconjunto dos valores do atributo.

import QtOpcUa as QtOpcUa

QtOpcUa.AttributeOperand {
    ...
    indexRange: "0:2"
}

nodeAttribute : Constants.NodeAttribute

Atributo do nó para o qual browsePath está apontando. O valor padrão é Constants.NodeAttribute.Value.

import QtOpcUa as QtOpcUa

QtOpcUa.AttributeOperand {
    ...
    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.

import QtOpcUa as QtOpcUa

QtOpcUa.AttributeOperand {
    ...
    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.