AttributeOperand QML Type

Der OPC UA AttributeOperand Typ. Mehr...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.13

Eigenschaften

Detaillierte Beschreibung

Der AttributeOperand ist in OPC UA 1.05 Teil 4, 7.7.4.4 definiert. Er hat den gleichen Zweck wie SimpleAttributeOperand, bietet aber mehr konfigurierbare Optionen.

Eigenschaft Dokumentation

alias : string

Alias-Name für den Operanden. Dies ermöglicht die Verwendung dieser Instanz als Operand für andere Operationen im Filter.


browsePath : list<OpcUaNodeId>

Suchpfad zum Knoten, der das Attribut enthält.

import QtOpcUa as QtOpcUa

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

indexRange : string

Indexbereich Zeichenkette, die verwendet wird, um einen einzelnen Wert oder eine Teilmenge des Attributwerts zu identifizieren.

import QtOpcUa as QtOpcUa

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

nodeAttribute : Constants.NodeAttribute

Attribut des Knotens, auf den browsePath zeigt. Der Standardwert ist Constants.NodeAttribute.Value.

import QtOpcUa as QtOpcUa

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

typeId : string

Knoten-ID des Typdefinitionsknotens. Der Operand ist vom Typ oder einem seiner Subtypen.

import QtOpcUa as QtOpcUa

QtOpcUa.AttributeOperand {
    ...
    typeId: "ns=0;i=2041"
}

© 2025 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.