En esta página

QOpcUaAxisInformation Class

El tipo de información OPC UA AxisInformation. Más...

Cabecera: #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 Qt OPC UA para el tipo OPC UA AxisInformation 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 común podría implicar el trazado de datos de visualización. Las unidades de ingeniería y el título se utilizan para el texto del gráfico; rango, axisScaleType y axisSteps proporcionan la escala y los rangos de los ejes del gráfico.

Documentación de las funciones miembro

QOpcUaAxisInformation::QOpcUaAxisInformation()

Por defecto construye una información de eje sin parámetros establecidos.

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

Construye la información del eje con unidades de ingeniería engineeringUnits, rango eURange, título title, escala axisScaleType y pasos del eje axisSteps.

QOpcUaAxisInformation::QOpcUaAxisInformation(const QOpcUaAxisInformation &rhs)

Construye la información del eje 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 por igual y el tamaño del paso puede calcularse a partir del número de pasos y el rango. Si los pasos son diferentes para cada punto pero constantes a lo largo de un tiempo mayor, 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 inferior y superior 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 inferior y superior 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 en 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 esta información del eje a 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.