QOpcUaRange Class
Il tipo "Range" di OPC UA. Per saperne di più...
| Intestazione: | #include <QOpcUaRange> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Funzioni pubbliche
| 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 |
Descrizione dettagliata
Questa è la rappresentazione di tipo " Qt OPC UA " per il tipo "Range" di OPC UA, definito nella specifica OPC UA 1.05, parte 8, sezione 5.6.2. È costituito da due valori di tipo double che indicano il minimo e il massimo dell'intervallo. Gli intervalli sono utilizzati principalmente per memorizzare informazioni sui valori ammissibili per un nodo.
Documentazione delle funzioni dei membri
QOpcUaRange::QOpcUaRange()
Default crea un intervallo senza parametri specificati.
QOpcUaRange::QOpcUaRange(double low, double high)
Crea un intervallo con il valore minimo low e il valore massimo high.
QOpcUaRange::QOpcUaRange(const QOpcUaRange &rhs)
Crea un intervallo a partire da rhs.
double QOpcUaRange::high() const
Restituisce il valore massimo dell'intervallo.
Vedi anche setHigh().
double QOpcUaRange::low() const
Restituisce il valore minimo dell'intervallo.
Vedi anche setLow().
void QOpcUaRange::setHigh(double high)
Imposta il valore massimo dell'intervallo su high.
Vedi anche high().
void QOpcUaRange::setLow(double low)
Imposta il valore minimo dell'intervallo su low.
Vedi anche low().
QOpcUaRange::operator QVariant() const
Converte questo intervallo in " QVariant".
QOpcUaRange &QOpcUaRange::operator=(const QOpcUaRange &rhs)
Imposta i valori da rhs in questo intervallo.
bool QOpcUaRange::operator==(const QOpcUaRange &rhs) const
Restituisce “ true ” se questo intervallo ha lo stesso valore di “ rhs ”.
© 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.