QOpcUaEUInformation Class
Der OPC UA-Typ „EURange“. Mehr...
| Kopfzeile: | #include <QOpcUaEUInformation> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Öffentliche Funktionen
| QOpcUaEUInformation() | |
| QOpcUaEUInformation(const QString &namespaceUri, qint32 unitId, const QOpcUaLocalizedText &displayName, const QOpcUaLocalizedText &description) | |
| QOpcUaEUInformation(const QOpcUaEUInformation &rhs) | |
| QOpcUaLocalizedText | description() const |
| QOpcUaLocalizedText | displayName() const |
| QString | namespaceUri() const |
| void | setDescription(const QOpcUaLocalizedText &description) |
| void | setDisplayName(const QOpcUaLocalizedText &displayName) |
| void | setNamespaceUri(const QString &namespaceUri) |
| void | setUnitId(qint32 unitId) |
| qint32 | unitId() const |
| operator QVariant() const | |
| QOpcUaEUInformation & | operator=(const QOpcUaEUInformation &rhs) |
| bool | operator==(const QOpcUaEUInformation &rhs) const |
Detaillierte Beschreibung
Dies ist die Darstellung des Typs „ Qt OPC UA “ für den OPC-UA-Typ „EUInformation“, der in OPC UA 1.05, Teil 8, Abschnitt 5.6.3 definiert ist. EUInformation-Werte enthalten Informationen zu Einheiten und werden meist als Eigenschaft eines Knotens mit einem numerischen Wertattribut verwendet. Die Informationen können z. B. dazu genutzt werden, GUI-Elementen Text und Tooltips hinzuzufügen.
Dokumentation der Mitgliedsfunktionen
QOpcUaEUInformation::QOpcUaEUInformation()
„Default“ erstellt eine EU-Information, ohne dass Parameter festgelegt werden.
QOpcUaEUInformation::QOpcUaEUInformation(const QString &namespaceUri, qint32 unitId, const QOpcUaLocalizedText &displayName, const QOpcUaLocalizedText &description)
Erstellt ein „EUinformation“-Objekt mit der Namespace-URI namespaceUri, der Objekt-ID unitId, dem Anzeigenamen displayName und der Beschreibung description.
QOpcUaEUInformation::QOpcUaEUInformation(const QOpcUaEUInformation &rhs)
Erstellt eine EUinformation aus rhs.
QOpcUaLocalizedText QOpcUaEUInformation::description() const
Gibt die Bezeichnung der Einheit zurück, zum Beispiel Grad Celsius.
Siehe auch „ setDescription()“.
QOpcUaLocalizedText QOpcUaEUInformation::displayName() const
Gibt den Anzeigenamen der Einheit zurück, zum Beispiel °C.
Siehe auch „ setDisplayName“ ().
QString QOpcUaEUInformation::namespaceUri() const
Gibt die Namespace-URI der Einheit zurück.
Siehe auch „ setNamespaceUri()“.
void QOpcUaEUInformation::setDescription(const QOpcUaLocalizedText &description)
Legt die Beschreibung der Einheit auf „ description “ fest.
Siehe auch ` description()`.
void QOpcUaEUInformation::setDisplayName(const QOpcUaLocalizedText &displayName)
Legt den Anzeigenamen der Einheit auf „ displayName “ fest.
Siehe auch displayName().
void QOpcUaEUInformation::setNamespaceUri(const QString &namespaceUri)
Setzt die Namespace-URI der Einheit auf namespaceUri.
Siehe auch namespaceUri().
void QOpcUaEUInformation::setUnitId(qint32 unitId)
Setzt die maschinenlesbare Kennung für die Einheit auf „ unitId “.
Siehe auch unitId().
qint32 QOpcUaEUInformation::unitId() const
Gibt die maschinenlesbare Kennung der Einheit zurück.
Siehe auch „ setUnitId()“.
QOpcUaEUInformation::operator QVariant() const
Wandelt diese EU-Informationen in QVariant um.
QOpcUaEUInformation &QOpcUaEUInformation::operator=(const QOpcUaEUInformation &rhs)
Übernimmt die Werte aus „ rhs “ in diese EU-Information.
bool QOpcUaEUInformation::operator==(const QOpcUaEUInformation &rhs) const
Gibt „ true “ zurück, wenn diese EU-Information denselben Wert wie „ rhs “ hat.
© 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.