このページでは

QOpcUaAxisInformation Class

OPC UA の AxisInformation タイプ。詳細...

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

パブリック関数

QOpcUaAxisInformation()
QOpcUaAxisInformation(const QOpcUaEUInformation &engineeringUnits, const QOpcUaRange &eURange, const QOpcUaLocalizedText &title, const QOpcUa::AxisScale &axisScaleType, const QList<double> &axisSteps)
QOpcUaAxisInformation(const QOpcUaAxisInformation &rhs)
QOpcUa::AxisScale axisScaleType() const
QList<double> axisSteps() const
QList<double> &axisStepsRef()
QOpcUaRange eURange() const
QOpcUaEUInformation engineeringUnits() const
void setAxisScaleType(QOpcUa::AxisScale axisScaleType)
void setAxisSteps(const QList<double> &axisSteps)
void setEURange(const QOpcUaRange &eURange)
void setEngineeringUnits(const QOpcUaEUInformation &engineeringUnits)
void setTitle(const QOpcUaLocalizedText &title)
QOpcUaLocalizedText title() const
operator QVariant() const
QOpcUaAxisInformation &operator=(const QOpcUaAxisInformation &rhs)
bool operator==(const QOpcUaAxisInformation &rhs) const

詳細な説明

これは、OPC UA 1.05 第8部 5.6.6で定義されているOPC UA AxisInformation型のQt OPC UA による表現です。これには、さまざまな目的に使用できる軸に関する情報が含まれています。一般的な使用例としては、表示データのプロットが挙げられます。 工学単位とタイトルはプロット上のテキストに使用され、range、axisScaleType 、およびaxisSteps は、プロットのスケーリングと軸の範囲を指定します。

メンバ関数のドキュメント

QOpcUaAxisInformation::QOpcUaAxisInformation()

デフォルトでは、パラメータが設定されていない軸情報が生成されます。

QOpcUaAxisInformation::QOpcUaAxisInformation(const QOpcUaEUInformation &engineeringUnits, const QOpcUaRange &eURange, const QOpcUaLocalizedText &title, const QOpcUa::AxisScale &axisScaleType, const QList<double> &axisSteps)

工学単位engineeringUnits 、範囲eURange 、タイトルtitle 、スケーリングaxisScaleType 、軸の目盛りaxisSteps を使用して、軸情報を構築します。

QOpcUaAxisInformation::QOpcUaAxisInformation(const QOpcUaAxisInformation &rhs)

rhs から軸情報を生成します。

QOpcUa::AxisScale QOpcUaAxisInformation::axisScaleType() const

QOpcUa::AxisScale で定義された、この軸のスケーリングを返します。

setAxisScaleType()も参照してください 。

QList<double> QOpcUaAxisInformation::axisSteps() const

各軸のステップごとに特定の値を返します。

点が等間隔に分布しており、ステップ数と範囲からステップサイズを計算できる場合、この値は空になります。点ごとにステップが異なるものの、より長い期間にわたって一定である場合は、データ点ごとにエントリが存在します。

setAxisSteps()も参照してください 。

QList<double> &QOpcUaAxisInformation::axisStepsRef()

軸のステップへの参照を返します。

QOpcUaRange QOpcUaAxisInformation::eURange() const

この軸の下限値と上限値を返します。

setEURange()も参照してください 。

QOpcUaEUInformation QOpcUaAxisInformation::engineeringUnits() const

この軸の工学単位を返します。

setEngineeringUnits()も参照してください 。

void QOpcUaAxisInformation::setAxisScaleType(QOpcUa::AxisScale axisScaleType)

軸のスケールタイプを「axisScaleType 」に設定します。

「axisScaleType()」も参照してください 。

void QOpcUaAxisInformation::setAxisSteps(const QList<double> &axisSteps)

軸のステップ数を `axisSteps` に設定します。

axisSteps()も参照してください 。

void QOpcUaAxisInformation::setEURange(const QOpcUaRange &eURange)

この軸の下限値と上限値をeURange に設定します。

eURange()も参照してください 。

void QOpcUaAxisInformation::setEngineeringUnits(const QOpcUaEUInformation &engineeringUnits)

工学単位を「engineeringUnits 」に設定します。

engineeringUnits()も参照してください 。

void QOpcUaAxisInformation::setTitle(const QOpcUaLocalizedText &title)

タイトルを「title 」に設定します。

title()も参照してください 。

QOpcUaLocalizedText QOpcUaAxisInformation::title() const

この軸のタイトルを返します。

setTitle()も参照してください 。

QOpcUaAxisInformation::operator QVariant() const

この軸情報をQVariant に変換します。

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

この軸情報に、rhs の値を設定します。

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

この軸情報が `rhs` と同じ値である場合、true を返します。

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