SimpleAttributeOperand QML Type
Der OPC-UA-Typ „SimpleAttributeOperand“. 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
- browsePath : list<OpcUaNodeId>
- indexRange : string
- nodeAttribute : Constants.NodeAttribute
- typeId : string
Ausführliche Beschreibung
Der SimpleAttributeOperand ist in OPC UA 1.05 Teil 4, Abschnitt 7.7.4.5 definiert. Er wird verwendet, wenn ein Knotenattribut als Operand benötigt wird.
Der folgende einfache Attributoperand stellt beispielsweise den Wert des Feldes „Severity“ des Basisereignistyps dar:
import QtOpcUa as QtOpcUa
QtOpcUa.SimpleAttributeOperand {
identifier: "Severity"
ns: "http://opcfoundation.org/UA/"
}Eigenschaftsdokumentation
browsePath : list<OpcUaNodeId>
Verzeichnispfad zu dem Knoten, der das Attribut enthält.
import QtOpcUa as QtOpcUa
QtOpcUa.SimpleAttributeOperand {
...
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.SimpleAttributeOperand {
...
indexRange: "0:2"
}nodeAttribute : Constants.NodeAttribute
Attribut des Knotens, auf den „ browsePath “ verweist. Der Standardwert lautet „ Constants.NodeAttribute.Value “.
import QtOpcUa as QtOpcUa
QtOpcUa.SimpleAttributeOperand {
...
nodeAttribute: QtOpcUa.Constants.NodeAttribute.Value
}typeId : string
Knoten-ID des Knotens mit der Typdefinition. Der Operand hat den Typ oder einen seiner Untertypen. Der Standardwert lautet „ "ns=0;i=2041" “.
import QtOpcUa as QtOpcUa
QtOpcUa.SimpleAttributeOperand {
...
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.