QOpcUaAxisInformation Class
El tipo «AxisInformation» de OPC UA. Más información...
| Encabezado: | #include <QOpcUaAxisInformation> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Funciones públicas
| 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 |
Descripción detallada
Esta es la representación de « Qt OPC UA » para el tipo «AxisInformation» de OPC UA, definido en OPC UA 1.05, parte 8, 5.6.6. Contiene información sobre un eje que puede utilizarse para múltiples fines. Un caso de uso habitual podría ser el trazado de datos de visualización. Las unidades de ingeniería y el título se utilizan para el texto del gráfico; «range», « axisScaleType » y « axisSteps » proporcionan la escala y los rangos de los ejes del gráfico.
Documentación de la función miembro
QOpcUaAxisInformation::QOpcUaAxisInformation()
«Default» crea una entrada de información de eje sin parámetros definidos.
QOpcUaAxisInformation::QOpcUaAxisInformation(const QOpcUaEUInformation &engineeringUnits, const QOpcUaRange &eURange, const QOpcUaLocalizedText &title, const QOpcUa::AxisScale &axisScaleType, const QList<double> &axisSteps)
Crea información sobre los ejes con las unidades de ingeniería engineeringUnits, el rango eURange, el título title, la escala axisScaleType y los pasos de los ejes axisSteps.
QOpcUaAxisInformation::QOpcUaAxisInformation(const QOpcUaAxisInformation &rhs)
Genera información sobre los ejes a partir de rhs.
QOpcUa::AxisScale QOpcUaAxisInformation::axisScaleType() const
Devuelve la escala de este eje, definida por QOpcUa::AxisScale.
Véase también setAxisScaleType().
QList<double> QOpcUaAxisInformation::axisSteps() const
Devuelve valores específicos para cada paso del eje.
Este valor está vacío si los puntos están distribuidos uniformemente y el tamaño del paso se puede calcular a partir del número de pasos y el rango. Si los pasos son diferentes para cada punto, pero constantes durante un periodo de tiempo más largo, hay una entrada para cada punto de datos.
Véase también setAxisSteps().
QList<double> &QOpcUaAxisInformation::axisStepsRef()
Devuelve una referencia a los pasos del eje.
QOpcUaRange QOpcUaAxisInformation::eURange() const
Devuelve los valores mínimo y máximo de este eje.
Véase también setEURange().
QOpcUaEUInformation QOpcUaAxisInformation::engineeringUnits() const
Devuelve las unidades de ingeniería de este eje.
Véase también setEngineeringUnits().
void QOpcUaAxisInformation::setAxisScaleType(QOpcUa::AxisScale axisScaleType)
Establece el tipo de escala del eje en « axisScaleType ».
Véase también ` axisScaleType()`.
void QOpcUaAxisInformation::setAxisSteps(const QList<double> &axisSteps)
Establece los pasos del eje en axisSteps.
Véase también axisSteps().
void QOpcUaAxisInformation::setEURange(const QOpcUaRange &eURange)
Establece los valores mínimo y máximo de este eje en eURange.
Véase también eURange().
void QOpcUaAxisInformation::setEngineeringUnits(const QOpcUaEUInformation &engineeringUnits)
Establece las unidades de ingeniería en « engineeringUnits ».
Véase también engineeringUnits().
void QOpcUaAxisInformation::setTitle(const QOpcUaLocalizedText &title)
Establece el título como « title ».
Véase también title().
QOpcUaLocalizedText QOpcUaAxisInformation::title() const
Devuelve el título de este eje.
Véase también setTitle().
QOpcUaAxisInformation::operator QVariant() const
Convierte la información de este eje en « QVariant ».
QOpcUaAxisInformation &QOpcUaAxisInformation::operator=(const QOpcUaAxisInformation &rhs)
Establece los valores de rhs en la información de este eje.
bool QOpcUaAxisInformation::operator==(const QOpcUaAxisInformation &rhs) const
Devuelve ` true ` si la información de este eje tiene el mismo valor 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.