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) |
| operator QVariant() const | |
| QOpcUaRange & | operator=(const QOpcUaRange &rhs) |
| bool | operator==(const QOpcUaRange &rhs) const |
상세 설명
이것은 OPC UA 1.05 파트 8, 5.6.2에 정의된 OPC UA Range 유형에 대한 Qt OPC UA 표현입니다. 이 유형은 범위의 최소값과 최대값을 나타내는 두 개의 double 값으로 구성됩니다. 범위는 주로 노드에 허용되는 값에 대한 정보를 저장하는 데 사용됩니다.
멤버 함수 설명
QOpcUaRange::QOpcUaRange()
Default는 매개변수가 설정되지 않은 범위를 생성합니다.
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()도 참조하십시오 .
QOpcUaRange::operator QVariant() const
이 범위를 ` QVariant`로 변환합니다.
QOpcUaRange &QOpcUaRange::operator=(const QOpcUaRange &rhs)
rhs 의 값을 이 범위로 설정합니다.
bool QOpcUaRange::operator==(const QOpcUaRange &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.