QOpcUaAxisInformation Class
OPC UA의 AxisInformation 유형. 더 보기...
| 헤더: | #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 |
| 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 표현입니다. 여기에는 다양한 용도로 사용할 수 있는 축에 대한 정보가 포함되어 있습니다. 일반적인 사용 사례로는 표시 데이터의 그래프 그리기가 있습니다. 공학 단위와 제목은 그래프의 텍스트에 사용되며, range, axisScaleType 및 axisSteps 는 그래프의 스케일링과 축 범위를 제공합니다.
멤버 함수 문서
QOpcUaAxisInformation::QOpcUaAxisInformation()
Default는 매개변수가 설정되지 않은 축 정보를 생성합니다.
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()도 참조하십시오 .
QOpcUaAxisInformation::operator QVariant() const
이 축 정보를 ` QVariant`로 변환합니다.
QOpcUaAxisInformation &QOpcUaAxisInformation::operator=(const QOpcUaAxisInformation &rhs)
이 축 정보에 rhs 의 값을 설정합니다.
bool QOpcUaAxisInformation::operator==(const QOpcUaAxisInformation &rhs) const
이 축 정보가 rhs 와 동일한 값을 가질 경우, true 를 반환합니다.
© 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.