Auf dieser Seite

AttributeOperand QML Type

Der OPC UA-Typ „AttributeOperand“. Mehr...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.13
Status: Deprecated since 6.9

Dieser Typ ist seit QtOpcUa 6.9 veraltet. Wir raten dringend davon ab, ihn in neuem Code zu verwenden.

Eigenschaften

Ausführliche Beschreibung

Der AttributeOperand ist in OPC UA 1.05 Teil 4, 7.7.4.4 definiert. Er hat denselben Zweck wie „ SimpleAttributeOperand “, bietet jedoch mehr Konfigurationsmöglichkeiten.

Eigenschaftsdokumentation

alias : string

Aliasname für den Operanden. Dadurch kann diese Instanz als Operand für andere Operationen im Filter verwendet werden.

browsePath : list<OpcUaNodeId>

Verzeichnispfad zu dem Knoten, der das Attribut enthält.

import QtOpcUa as QtOpcUa

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

indexRange : string

Indexbereichszeichenfolge, die zur Identifizierung eines einzelnen Werts oder einer Teilmenge der Werte des Attributs verwendet wird.

import QtOpcUa as QtOpcUa

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

nodeAttribute : Constants.NodeAttribute

Attribut des Knotens, auf den „ browsePath “ verweist. Der Standardwert lautet „ Constants.NodeAttribute.Value “.

import QtOpcUa as QtOpcUa

QtOpcUa.AttributeOperand {
    ...
    nodeAttribute: QtOpcUa.Constants.NodeAttribute.Value
}

typeId : string

Knoten-ID des Knotens mit der Typdefinition. Der Operand hat den Typ oder einen seiner Untertypen.

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.