QOpcUaAxisInformation Class
OPC UA 축 정보 유형입니다. 더 보기...
헤더: | #include <QOpcUaAxisInformation> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
공용 함수
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 |
상세 설명
이것은 OPC UA 1.05 파트 8, 5.6.6에 정의된 OPC UA AxisInformation 유형에 대한 Qt OPC UA 표현입니다. 여기에는 여러 용도로 사용할 수 있는 축에 대한 정보가 포함되어 있습니다. 일반적인 사용 사례로는 디스플레이 데이터의 플로팅이 있습니다. 엔지니어링 단위와 제목은 플롯의 텍스트, 범위, axisScaleType 및 axisSteps 은 플롯의 배율 및 축 범위를 제공합니다.
멤버 함수 문서
QOpcUaAxisInformation::QOpcUaAxisInformation()
기본값은 매개변수가 설정되지 않은 축 정보를 구성합니다.
QOpcUaAxisInformation::QOpcUaAxisInformation(const QOpcUaEUInformation &engineeringUnits, const QOpcUaRange &eURange, const QOpcUaLocalizedText &title, const QOpcUa::AxisScale &axisScaleType, const QList<double> &axisSteps)
엔지니어링 단위 engineeringUnits, 범위 eURange, 제목 title, 배율 axisScaleType 및 축 단계 axisSteps 를 사용하여 축 정보를 구성합니다.
QOpcUaAxisInformation::QOpcUaAxisInformation(const QOpcUaAxisInformation &rhs)
rhs 에서 축 정보를 구성합니다.
QOpcUa::AxisScale QOpcUaAxisInformation::axisScaleType() const
QOpcUa::AxisScale 에 정의된 이 축의 배율을 반환합니다.
setAxisScaleType()도 참조하세요 .
QList<double> QOpcUaAxisInformation::axisSteps() const
각 축 단계에 대한 특정 값을 반환합니다.
포인트가 균등하게 분포되어 있고 단계 수와 범위에서 단계 크기를 계산할 수 있는 경우 이 값은 비어 있습니다. 각 포인트마다 단계가 다르지만 오랜 시간 동안 일정하면 각 데이터 포인트에 대한 항목이 있습니다.
setAxisSteps()도 참조하세요 .
QList<double> &QOpcUaAxisInformation::axisStepsRef()
축 단계에 대한 참조를 반환합니다.
QOpcUaRange QOpcUaAxisInformation::eURange() const
이 축의 하한값과 상한값을 반환합니다.
setEURange()도 참조하세요 .
QOpcUaEUInformation QOpcUaAxisInformation::engineeringUnits() const
이 축의 공학 단위를 반환합니다.
setEngineeringUnits()도 참조하십시오 .
void QOpcUaAxisInformation::setAxisScaleType(QOpcUa::AxisScale axisScaleType)
축 눈금 유형을 axisScaleType 으로 설정합니다.
axisScaleType()도 참조하세요 .
void QOpcUaAxisInformation::setAxisSteps(const QList<double> &axisSteps)
축 단계를 axisSteps 로 설정합니다.
axisSteps()도 참조하세요 .
void QOpcUaAxisInformation::setEURange(const QOpcUaRange &eURange)
이 축의 하한 및 상한 값을 eURange 으로 설정합니다.
eURange()도 참조하세요 .
void QOpcUaAxisInformation::setEngineeringUnits(const QOpcUaEUInformation &engineeringUnits)
엔지니어링 단위를 engineeringUnits 로 설정합니다.
engineeringUnits()도 참조하세요 .
void QOpcUaAxisInformation::setTitle(const QOpcUaLocalizedText &title)
제목을 title 으로 설정합니다.
title()도 참조하세요 .
QOpcUaLocalizedText QOpcUaAxisInformation::title() const
이 축의 제목을 반환합니다.
setTitle()도 참조하십시오 .
QVariant QOpcUaAxisInformation::operator QVariant() const
이 축 정보를 QVariant 로 변환합니다.
QOpcUaAxisInformation &QOpcUaAxisInformation::operator=(const QOpcUaAxisInformation &rhs)
이 축 정보에 rhs 의 값을 설정합니다.
bool QOpcUaAxisInformation::operator==(const QOpcUaAxisInformation &rhs) const
이 축 정보가 rhs 과 같은 값인 경우 true
을 반환합니다.
© 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.