Auf dieser Seite

QOpcUaAxisInformation Class

Der OPC-UA-Typ „AxisInformation“. 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
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-Typ „AxisInformation“, der in OPC UA 1.05, Teil 8, Abschnitt 5.6.6 definiert ist. Er enthält Informationen über eine Achse, die für verschiedene Zwecke verwendet werden können. Ein häufiger Anwendungsfall könnte die Darstellung von Anzeigedaten sein. Die technischen Einheiten und der Titel werden für den Text auf dem Diagramm verwendet, während „range“, „ axisScaleType “ und „ axisSteps “ die Skalierung und die Achsenbereiche des Diagramms festlegen.

Dokumentation der Member-Funktionen

QOpcUaAxisInformation::QOpcUaAxisInformation()

Standardmäßig wird eine Achseninformation ohne festgelegte Parameter erstellt.

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

Erstellt Achseninformationen mit den technischen Einheiten engineeringUnits, dem Bereich eURange, dem Titel title, der Skalierung axisScaleType und den Achsenschritten axisSteps.

QOpcUaAxisInformation::QOpcUaAxisInformation(const QOpcUaAxisInformation &rhs)

Erstellt Achseninformationen aus „ rhs “.

QOpcUa::AxisScale QOpcUaAxisInformation::axisScaleType() const

Gibt die Skalierung dieser Achse zurück, die durch QOpcUa::AxisScale definiert ist.

Siehe auch setAxisScaleType().

QList<double> QOpcUaAxisInformation::axisSteps() const

Gibt für jeden Achsen-Schritt bestimmte Werte 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 für jeden Datenpunkt einen Eintrag.

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)

Legt den Achsen-Skalierungstyp auf „ axisScaleType “ fest.

Siehe auch ` axisScaleType()`.

void QOpcUaAxisInformation::setAxisSteps(const QList<double> &axisSteps)

Legt die Achsenschritte auf „ axisSteps “ fest.

Siehe auch axisSteps().

void QOpcUaAxisInformation::setEURange(const QOpcUaRange &eURange)

Legt den unteren und oberen Wert dieser Achse auf „ eURange “ fest.

Siehe auch „ eURange()“.

void QOpcUaAxisInformation::setEngineeringUnits(const QOpcUaEUInformation &engineeringUnits)

Stellt die technischen Einheiten auf „ engineeringUnits “ ein.

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()`.

QOpcUaAxisInformation::operator QVariant() const

Wandelt diese Achsenangaben in „ QVariant “ um.

QOpcUaAxisInformation &QOpcUaAxisInformation::operator=(const QOpcUaAxisInformation &rhs)

Legt die Werte aus „ rhs “ in diesen Achseninformationen fest.

bool QOpcUaAxisInformation::operator==(const QOpcUaAxisInformation &rhs) const

Gibt „ true “ zurück, wenn diese Achsenangabe denselben Wert wie „ rhs “ hat.

© 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.