QOpcUaAxisInformation Class
Der OPC UA AxisInformationstyp. Mehr...
Kopfzeile: | #include <QOpcUaAxisInformation> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
Öffentliche Funktionen
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 |
QVariant | operator QVariant() const |
QOpcUaAxisInformation & | operator=(const QOpcUaAxisInformation &rhs) |
bool | operator==(const QOpcUaAxisInformation &rhs) const |
Detaillierte Beschreibung
Dies ist die Qt OPC UA Darstellung für den OPC UA AxisInformation Typ, der in OPC UA 1.05 Teil 8, 5.6.6 definiert ist. Er enthält Informationen über eine Achse, die für mehrere Zwecke verwendet werden können. Ein üblicher Anwendungsfall könnte die Darstellung von Anzeigedaten sein. Die technischen Einheiten und der Titel werden für den Text auf dem Plot verwendet, Bereich, axisScaleType und axisSteps liefern die Skalierung und die Achsenbereiche des Plots.
Dokumentation der Mitgliedsfunktionen
QOpcUaAxisInformation::QOpcUaAxisInformation()
Standard konstruiert eine Achseninformation ohne Parameter.
QOpcUaAxisInformation::QOpcUaAxisInformation(const QOpcUaEUInformation &engineeringUnits, const QOpcUaRange &eURange, const QOpcUaLocalizedText &title, const QOpcUa::AxisScale &axisScaleType, const QList<double> &axisSteps)
Konstruiert Achseninformationen mit technischen Einheiten engineeringUnits, Bereich eURange, Titel title, Skalierung axisScaleType und Achsenschritte axisSteps.
QOpcUaAxisInformation::QOpcUaAxisInformation(const QOpcUaAxisInformation &rhs)
Konstruiert Achseninformationen aus rhs.
QOpcUa::AxisScale QOpcUaAxisInformation::axisScaleType() const
Gibt die Skalierung dieser Achse zurück, definiert durch QOpcUa::AxisScale.
Siehe auch setAxisScaleType().
QList<double> QOpcUaAxisInformation::axisSteps() const
Gibt spezifische Werte für jeden Achsenschritt zurück.
Dieser Wert ist leer, wenn die Punkte gleichmäßig verteilt sind und die Schrittweite aus der Anzahl der Schritte und dem Bereich berechnet werden kann. Sind die Schritte für jeden Punkt unterschiedlich, aber über einen längeren Zeitraum konstant, gibt es einen Eintrag für jeden Datenpunkt.
Siehe auch setAxisSteps().
QList<double> &QOpcUaAxisInformation::axisStepsRef()
Gibt eine Referenz auf die Achsenschritte zurück.
QOpcUaRange QOpcUaAxisInformation::eURange() const
Gibt den unteren und oberen Wert dieser Achse zurück.
Siehe auch setEURange().
QOpcUaEUInformation QOpcUaAxisInformation::engineeringUnits() const
Gibt die technischen Einheiten dieser Achse zurück.
Siehe auch setEngineeringUnits().
void QOpcUaAxisInformation::setAxisScaleType(QOpcUa::AxisScale axisScaleType)
Setzt den Achsenskalierungstyp auf axisScaleType.
Siehe auch axisScaleType().
void QOpcUaAxisInformation::setAxisSteps(const QList<double> &axisSteps)
Setzt die Achsenschritte auf axisSteps.
Siehe auch axisSteps().
void QOpcUaAxisInformation::setEURange(const QOpcUaRange &eURange)
Setzt den unteren und oberen Wert dieser Achse auf eURange.
Siehe auch eURange().
void QOpcUaAxisInformation::setEngineeringUnits(const QOpcUaEUInformation &engineeringUnits)
Setzt die technischen Einheiten auf engineeringUnits.
Siehe auch engineeringUnits().
void QOpcUaAxisInformation::setTitle(const QOpcUaLocalizedText &title)
Setzt den Titel auf title.
Siehe auch title().
QOpcUaLocalizedText QOpcUaAxisInformation::title() const
Gibt den Titel dieser Achse zurück.
Siehe auch setTitle().
QVariant QOpcUaAxisInformation::operator QVariant() const
Konvertiert diese Achseninformation in QVariant.
QOpcUaAxisInformation &QOpcUaAxisInformation::operator=(const QOpcUaAxisInformation &rhs)
Setzt die Werte von rhs in diese Achseninformation.
bool QOpcUaAxisInformation::operator==(const QOpcUaAxisInformation &rhs) const
Gibt true
zurück, wenn diese Achseninformation denselben Wert wie rhs hat.
© 2025 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.