QOpcUaRange Class

OPC UAレンジタイプ。詳細...

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

パブリック関数

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

詳細説明

これは、OPC UA 1.05 part 8の5.6.2で定義されているOPC UA Range型のQt OPC UA 。これは、範囲の最小値と最大値を示す2つのダブル値で構成されます。レンジは主に、ノードの許容値に関する情報を格納するために使用されます。

メンバ関数ドキュメント

QOpcUaRange::QOpcUaRange()

デフォルトは、パラメータを設定せずに範囲を構築する。

QOpcUaRange::QOpcUaRange(double low, double high)

低い値low 、高い値high

QOpcUaRange::QOpcUaRange(const QOpcUaRange &rhs)

rhs から範囲を構築する。

double QOpcUaRange::high() const

範囲の高値を返します。

setHigh()も参照

double QOpcUaRange::low() const

範囲の下限値を返します。

setLow()も参照

void QOpcUaRange::setHigh(double high)

範囲の高値をhigh に設定する。

high()も参照のこと

void QOpcUaRange::setLow(double low)

範囲の下限値をlow に設定する。

low()も参照のこと

QVariant QOpcUaRange::operator QVariant() const

この範囲をQVariant に変換する。

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

rhs 、この範囲の値を設定する。

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

この範囲がrhs と同じ値の場合、true を返す。

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