QOpcUaRange Class

Der OPC UA Bereichstyp. Mehr...

Kopfzeile: #include <QOpcUaRange>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua

Öffentliche Funktionen

QOpcUaRange()
QOpcUaRange(double low, double high)
QOpcUaRange(const QOpcUaRange &rhs)
double high() const
double low() const
void setHigh(double high)
void setLow(double low)
QVariant operator QVariant() const
QOpcUaRange &operator=(const QOpcUaRange &rhs)
bool operator==(const QOpcUaRange &rhs) const

Detaillierte Beschreibung

Dies ist die Qt OPC UA Darstellung für den OPC UA Range Typ, der in OPC UA 1.05 Teil 8, 5.6.2 definiert ist. Er besteht aus zwei Doppelwerten, die das Minimum und das Maximum des Bereichs markieren. Ranges werden meist verwendet, um Informationen über akzeptable Werte für einen Knoten zu speichern.

Dokumentation der Mitgliedsfunktionen

QOpcUaRange::QOpcUaRange()

Standard konstruiert einen Bereich ohne gesetzte Parameter.

QOpcUaRange::QOpcUaRange(double low, double high)

Konstruiert einen Bereich mit niedrigem Wert low und hohem Wert high.

QOpcUaRange::QOpcUaRange(const QOpcUaRange &rhs)

Konstruiert einen Bereich von rhs.

double QOpcUaRange::high() const

Gibt den höchsten Wert des Bereichs zurück.

Siehe auch setHigh().

double QOpcUaRange::low() const

Gibt den unteren Wert des Bereichs zurück.

Siehe auch setLow().

void QOpcUaRange::setHigh(double high)

Setzt den Höchstwert des Bereichs auf high.

Siehe auch high().

void QOpcUaRange::setLow(double low)

Setzt den unteren Wert des Bereichs auf low.

Siehe auch low().

QVariant QOpcUaRange::operator QVariant() const

Wandelt diesen Bereich in QVariant um.

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

Legt die Werte von rhs in diesem Bereich fest.

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

Gibt true zurück, wenn dieser Bereich 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.