SimpleAttributeOperand QML Type

Der OPC UA SimpleAttributeOperand Typ. Mehr...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.13

Eigenschaften

Detaillierte Beschreibung

Der SimpleAttributeOperand ist in OPC UA 1.05 Teil 4, 7.7.4.5 spezifiziert. Er wird verwendet, wenn ein Knotenattribut als Operand erforderlich ist.

Der folgende SimpleAttributeOperand stellt zum Beispiel den Wert des Feldes "Severity" des Basis-Ereignistyps dar:

import QtOpcUa as QtOpcUa

QtOpcUa.SimpleAttributeOperand {
    identifier: "Severity"
    ns: "http://opcfoundation.org/UA/"
}

Eigenschaft Dokumentation

browsePath : list<OpcUaNodeId>

Suchpfad zum Knoten, der das Attribut enthält.

import QtOpcUa as QtOpcUa

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

indexRange : string

Indexbereich Zeichenkette, die zur Identifizierung eines einzelnen Wertes oder einer Teilmenge des Attributwertes verwendet wird.

import QtOpcUa as QtOpcUa

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

nodeAttribute : Constants.NodeAttribute

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

import QtOpcUa as QtOpcUa

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

typeId : string

Knoten-ID des Typdefinitionsknotens. Der Operand ist vom Typ oder einem seiner Subtypen. Der Standardwert ist "ns=0;i=2041".

import QtOpcUa as QtOpcUa

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