QOpcUaRange Class
OPC UA 범위 유형. 더 보기...
헤더: | #include <QOpcUaRange> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
공용 함수
QOpcUaRange() | |
QOpcUaRange(double low, double high) | |
QOpcUaRange(const QOpcUaRange &rhs) | |
double | high() const |
double | low() const |
void | setHigh(double high) |
void | setLow(double low) |
QVariant | operator QVariant() const |
QOpcUaRange & | operator=(const QOpcUaRange &rhs) |
bool | operator==(const QOpcUaRange &rhs) const |
상세 설명
이것은 OPC UA 1.05 파트 8, 5.6.2에 정의된 OPC UA 범위 유형에 대한 Qt OPC UA 표현입니다. 범위의 최소값과 최대값을 표시하는 두 개의 이중 값으로 구성됩니다. 범위는 주로 노드에 허용되는 값에 대한 정보를 저장하는 데 사용됩니다.
멤버 함수 문서
QOpcUaRange::QOpcUaRange()
기본값은 매개변수가 설정되지 않은 범위를 구성합니다.
QOpcUaRange::QOpcUaRange(double low, double high)
낮은 값 low 과 높은 값 high 으로 범위를 구성합니다.
QOpcUaRange::QOpcUaRange(const QOpcUaRange &rhs)
rhs 에서 범위를 구성합니다.
double QOpcUaRange::high() const
범위의 최고값을 반환합니다.
setHigh()도 참조하세요 .
double QOpcUaRange::low() const
범위의 낮은 값을 반환합니다.
setLow()도 참조하세요 .
void QOpcUaRange::setHigh(double high)
범위의 최고값을 high 로 설정합니다.
high()도 참조하세요 .
void QOpcUaRange::setLow(double low)
범위의 낮은 값을 low 로 설정합니다.
low()도 참조하세요 .
QVariant QOpcUaRange::operator QVariant() const
이 범위를 QVariant 로 변환합니다.
QOpcUaRange &QOpcUaRange::operator=(const QOpcUaRange &rhs)
rhs 의 값을 이 범위로 설정합니다.
bool QOpcUaRange::operator==(const QOpcUaRange &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.