The OPC UA AxisInformation type. More...
Header: | #include <QOpcUaAxisInformation> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
QOpcUaAxisInformation(const QOpcUaEUInformation &engineeringUnits, const QOpcUaRange &eURange, const QOpcUaLocalizedText &title, const QOpcUa::AxisScale &axisScaleType, const QList<double> &axisSteps) | |
QOpcUaAxisInformation(const QOpcUaAxisInformation &rhs) | |
QOpcUaAxisInformation & | operator=(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 |
bool | operator==(const QOpcUaAxisInformation &rhs) const |
This is the Qt OPC UA representation for the OPC UA AxisInformation type defined in OPC-UA part 8, 5.6.6. It contains information about an axis which can be used for multiple purposes. A common use case could involve the plotting of display data. The engineering units and the title are used for the text on the plot, range, axisScaleType and axisSteps provide the scaling and the axis ranges of the plot.
Constructs axis information with engineering units engineeringUnits, range eURange, title title, scaling axisScaleType and axis steps axisSteps.
Constructs axis information from rhs.
Sets the values from rhs in this axis information.
Returns the scaling of this axis, defined by QOpcUa::AxisScale.
See also setAxisScaleType().
Returns specific values for each axis step.
This value is empty if the points are equally distributed and the step size can be calculated from the number of steps and the range. If the steps are different for each point but constant over a longer time, there is an entry for each data point.
See also setAxisSteps().
Returns a reference to the axis steps.
Returns the lower and upper values of this axis.
See also setEURange().
Returns the engineering units of this axis.
See also setEngineeringUnits().
Sets the axis scale type to axisScaleType.
See also axisScaleType().
Sets the axis steps to axisSteps.
See also axisSteps().
Sets the lower and upper values of this axis to eURange.
See also eURange().
Sets the engineering units to engineeringUnits.
See also engineeringUnits().
Sets the title to title.
See also title().
Returns the title of this axis.
See also setTitle().
Converts this axis information to QVariant.
Returns true
if this axis information has the same value as rhs.