QOpcUaRange Class
Der OPC UA-Typ „Range“. 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) |
| 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-Typ „Range“, der in OPC UA 1.05, Teil 8, Abschnitt 5.6.2 definiert ist. Er besteht aus zwei Double-Werten, die das Minimum und das Maximum des Bereichs kennzeichnen. Bereiche werden meist verwendet, um Informationen über zulässige Werte für einen Knoten zu speichern.
Dokumentation der Mitgliedsfunktionen
QOpcUaRange::QOpcUaRange()
„default“ erstellt einen Bereich, für den keine Parameter festgelegt sind.
QOpcUaRange::QOpcUaRange(double low, double high)
Erzeugt einen Bereich mit dem unteren Wert low und dem oberen Wert high.
QOpcUaRange::QOpcUaRange(const QOpcUaRange &rhs)
Erstellt einen Bereich aus rhs.
double QOpcUaRange::high() const
Gibt den höchsten Wert des Bereichs zurück.
Siehe auch „ setHigh()“.
double QOpcUaRange::low() const
Gibt den kleinsten Wert des Bereichs zurück.
Siehe auch „ setLow()“.
void QOpcUaRange::setHigh(double high)
Setzt den oberen Wert des Bereichs auf „ high “.
Siehe auch high().
void QOpcUaRange::setLow(double low)
Setzt den unteren Wert des Bereichs auf low.
Siehe auch low().
QOpcUaRange::operator QVariant() const
Wandelt diesen Bereich in „ QVariant “ um.
QOpcUaRange &QOpcUaRange::operator=(const QOpcUaRange &rhs)
Legt die Werte aus „ rhs “ in diesem Bereich fest.
bool QOpcUaRange::operator==(const QOpcUaRange &rhs) const
Gibt „ true “ zurück, wenn dieser Bereich 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.