En esta página

AttributeOperand QML Type

El tipo de AttributeOperand 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

Descripción detallada

El AttributeOperand se define en OPC UA 1.05 parte 4, 7.7.4.4. Tiene el mismo propósito que SimpleAttributeOperand pero tiene más opciones configurables.

Documentación de la propiedad

alias : string

Nombre alternativo del operando. Esto permite utilizar esta instancia como operando para otras operaciones en el filtro.

browsePath : list<OpcUaNodeId>

Ruta de acceso al nodo que contiene el atributo.

import QtOpcUa as QtOpcUa

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

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.