QOpcUaEUInformation Class

Der OPC UA EURange Typ. 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
QVariant operator QVariant() const
QOpcUaEUInformation &operator=(const QOpcUaEUInformation &rhs)
bool operator==(const QOpcUaEUInformation &rhs) const

Detaillierte Beschreibung

Dies ist die Qt OPC UA Repräsentation für den OPC UA EUInformation Typ, definiert in OPC UA 1.05 Teil 8, 5.6.3. EUInformation Werte enthalten Informationen über Einheiten und werden meist als Eigenschaft eines Knotens mit einem numerischen Wertattribut verwendet. Die Informationen können z. B. verwendet werden, um Text und Tooltips zu GUI Elementen hinzuzufügen.

Dokumentation der Mitgliedsfunktionen

QOpcUaEUInformation::QOpcUaEUInformation()

Default konstruiert eine EU-Information ohne Parameter.

QOpcUaEUInformation::QOpcUaEUInformation(const QString &namespaceUri, qint32 unitId, const QOpcUaLocalizedText &displayName, const QOpcUaLocalizedText &description)

Konstruiert eine EU-Information mit Namespace URI namespaceUri, unit id unitId, display name displayName und description description.

QOpcUaEUInformation::QOpcUaEUInformation(const QOpcUaEUInformation &rhs)

Konstruiert eine EU-Information aus rhs.

QOpcUaLocalizedText QOpcUaEUInformation::description() const

Gibt die Beschreibung der Einheit zurück, z. B. Grad Celsius.

Siehe auch setDescription().

QOpcUaLocalizedText QOpcUaEUInformation::displayName() const

Gibt den Anzeigenamen der Einheit zurück, z. B. °C.

Siehe auch setDisplayName().

QString QOpcUaEUInformation::namespaceUri() const

Gibt den Namespace-URI der Einheit zurück.

Siehe auch setNamespaceUri().

void QOpcUaEUInformation::setDescription(const QOpcUaLocalizedText &description)

Setzt die Beschreibung der Einheit auf description.

Siehe auch description().

void QOpcUaEUInformation::setDisplayName(const QOpcUaLocalizedText &displayName)

Setzt den Anzeigenamen des Geräts auf displayName.

Siehe auch displayName().

void QOpcUaEUInformation::setNamespaceUri(const QString &namespaceUri)

Setzt den Namespace URI der Einheit auf namespaceUri.

Siehe auch namespaceUri().

void QOpcUaEUInformation::setUnitId(qint32 unitId)

Setzt den maschinenlesbaren Bezeichner für die Einheit auf unitId.

Siehe auch unitId().

qint32 QOpcUaEUInformation::unitId() const

Gibt den maschinenlesbaren Bezeichner für die Einheit zurück.

Siehe auch setUnitId().

QVariant QOpcUaEUInformation::operator QVariant() const

Wandelt diese EU-Information in QVariant um.

QOpcUaEUInformation &QOpcUaEUInformation::operator=(const QOpcUaEUInformation &rhs)

Legt die Werte von rhs in dieser EU-Information fest.

bool QOpcUaEUInformation::operator==(const QOpcUaEUInformation &rhs) const

Gibt true zurück, wenn diese EU-Information denselben Wert wie rhs hat.

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