Sur cette page

QOpcUaAxisInformation Class

Le type OPC UA AxisInformation. Plus d'informations...

En-tête : #include <QOpcUaAxisInformation>
CMake : find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake : QT += opcua

Fonctions publiques

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

Description détaillée

Il s'agit de la représentation Qt OPC UA du type OPC UA AxisInformation défini dans OPC UA 1.05 partie 8, 5.6.6. Il contient des informations sur un axe qui peuvent être utilisées à des fins multiples. Un cas d'utilisation courant pourrait impliquer le traçage de données d'affichage. Les unités d'ingénierie et le titre sont utilisés pour le texte du tracé, la plage, axisScaleType et axisSteps fournissent l'échelle et les plages d'axe du tracé.

Documentation des fonctions membres

QOpcUaAxisInformation::QOpcUaAxisInformation()

Par défaut, une information d'axe est construite sans aucun paramètre défini.

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

Construit des informations sur les axes avec les unités d'ingénierie engineeringUnits, la plage eURange, le titre title, l'échelle axisScaleType et les étapes de l'axe axisSteps.

QOpcUaAxisInformation::QOpcUaAxisInformation(const QOpcUaAxisInformation &rhs)

Construit des informations sur les axes à partir de rhs.

QOpcUa::AxisScale QOpcUaAxisInformation::axisScaleType() const

Renvoie l'échelle de cet axe, définie par QOpcUa::AxisScale.

Voir aussi setAxisScaleType().

QList<double> QOpcUaAxisInformation::axisSteps() const

Renvoie des valeurs spécifiques pour chaque pas d'axe.

Cette valeur est vide si les points sont répartis de manière égale et que la taille du pas peut être calculée à partir du nombre de pas et de la plage. Si les pas sont différents pour chaque point mais constants sur une longue période, il y a une entrée pour chaque point de données.

Voir également setAxisSteps().

QList<double> &QOpcUaAxisInformation::axisStepsRef()

Renvoie une référence aux étapes de l'axe.

QOpcUaRange QOpcUaAxisInformation::eURange() const

Renvoie les valeurs inférieure et supérieure de cet axe.

Voir également setEURange().

QOpcUaEUInformation QOpcUaAxisInformation::engineeringUnits() const

Renvoie les unités d'ingénierie de cet axe.

Voir également setEngineeringUnits().

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

Définit le type d'échelle de l'axe à axisScaleType.

Voir également axisScaleType().

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

Définit les pas de l'axe à axisSteps.

Voir également axisSteps().

void QOpcUaAxisInformation::setEURange(const QOpcUaRange &eURange)

Définit les valeurs inférieure et supérieure de cet axe à eURange.

Voir aussi eURange().

void QOpcUaAxisInformation::setEngineeringUnits(const QOpcUaEUInformation &engineeringUnits)

Définit les unités d'ingénierie à engineeringUnits.

Voir aussi engineeringUnits().

void QOpcUaAxisInformation::setTitle(const QOpcUaLocalizedText &title)

Fixe le titre à title.

Voir aussi title().

QOpcUaLocalizedText QOpcUaAxisInformation::title() const

Renvoie le titre de cet axe.

Voir aussi setTitle().

QOpcUaAxisInformation::operator QVariant() const

Convertit ces informations d'axe en QVariant.

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

Définit les valeurs de rhs dans ces informations d'axe.

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

Renvoie true si cette information sur l'axe a la même valeur que 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.