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
QVariant operator QVariant() const
QOpcUaAxisInformation &operator=(const QOpcUaAxisInformation &rhs)
bool operator==(const QOpcUaAxisInformation &rhs) const

詳細説明

これは、OPC UA 1.05 part 8の5.6.6で定義されているOPC UA AxisInformation型のQt OPC UA 。これは、複数の目的に使用できる軸に関する情報を含んでいます。一般的な使用例としては、表示データのプロットがあります。工学単位とタイトルはプロット上のテキストに使用され、range、axisScaleTypeaxisSteps はプロットのスケーリングと軸範囲を提供する。

メンバ関数ドキュメント

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()も参照してください

QVariant QOpcUaAxisInformation::operator QVariant() const

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

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

この軸情報にrhs からの値を設定する。

bool QOpcUaAxisInformation::operator==(const QOpcUaAxisInformation &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.