QOpcUaAxisInformation Class
Le type « AxisInformation » de l'OPC UA. En savoir plus...
| 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 de l'Qt OPC UA pour le type OPC UA AxisInformation défini dans la norme OPC UA 1.05, partie 8, section 5.6.6. Elle contient des informations sur un axe pouvant être utilisées à des fins multiples. Un cas d'utilisation courant pourrait concerner le traçage de données d'affichage. Les unités techniques et le titre sont utilisés pour le texte figurant sur le graphique ; les paramètres range, axisScaleType et axisSteps définissent l'échelle et les plages des axes du graphique.
Documentation des fonctions membres
QOpcUaAxisInformation::QOpcUaAxisInformation()
La valeur par défaut crée une information d'axe 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)
Crée des informations d'axe avec les unités techniques engineeringUnits, l'intervalle eURange, le titre title, la mise à l'échelle axisScaleType et les pas d'axe axisSteps.
QOpcUaAxisInformation::QOpcUaAxisInformation(const QOpcUaAxisInformation &rhs)
Génère des informations sur les axes à partir de rhs.
QOpcUa::AxisScale QOpcUaAxisInformation::axisScaleType() const
Renvoie le facteur d'échelle de cet axe, défini par QOpcUa::AxisScale.
Voir également setAxisScaleType().
QList<double> QOpcUaAxisInformation::axisSteps() const
Renvoie des valeurs spécifiques pour chaque pas de l'axe.
Cette valeur est vide si les points sont répartis de manière uniforme et que la taille du pas peut être calculée à partir du nombre de pas et de l'intervalle. Si les pas sont différents pour chaque point mais constants sur une période plus longue, il existe une entrée pour chaque point de données.
Voir également setAxisSteps().
QList<double> &QOpcUaAxisInformation::axisStepsRef()
Renvoie une référence aux pas de l'axe.
QOpcUaRange QOpcUaAxisInformation::eURange() const
Renvoie les valeurs minimale et maximale de cet axe.
Voir également setEURange().
QOpcUaEUInformation QOpcUaAxisInformation::engineeringUnits() const
Renvoie les unités techniques de cet axe.
Voir également setEngineeringUnits().
void QOpcUaAxisInformation::setAxisScaleType(QOpcUa::AxisScale axisScaleType)
Définit le type d'échelle de l'axe sur « axisScaleType ».
Voir également axisScaleType().
void QOpcUaAxisInformation::setAxisSteps(const QList<double> &axisSteps)
Définit le pas des axes sur axisSteps.
Voir également axisSteps().
void QOpcUaAxisInformation::setEURange(const QOpcUaRange &eURange)
Définit les valeurs minimale et maximale de cet axe sur eURange.
Voir également eURange().
void QOpcUaAxisInformation::setEngineeringUnits(const QOpcUaEUInformation &engineeringUnits)
Définit les unités techniques sur « engineeringUnits ».
Voir également engineeringUnits().
void QOpcUaAxisInformation::setTitle(const QOpcUaLocalizedText &title)
Définit le titre sur « title ».
Voir aussi title().
QOpcUaLocalizedText QOpcUaAxisInformation::title() const
Renvoie le titre de cet axe.
Voir également setTitle().
QOpcUaAxisInformation::operator QVariant() const
Convertit les informations relatives à cet axe au format « QVariant ».
QOpcUaAxisInformation &QOpcUaAxisInformation::operator=(const QOpcUaAxisInformation &rhs)
Définit les valeurs provenant de rhs dans les informations relatives à cet axe.
bool QOpcUaAxisInformation::operator==(const QOpcUaAxisInformation &rhs) const
Renvoie « true » si les informations relatives à cet axe ont 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.