QOpcUaXValue Class
OPC UA XVType. 더 보기...
Header: | #include <QOpcUaXValue> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
공용 함수
QOpcUaXValue() | |
QOpcUaXValue(double x, float value) | |
QOpcUaXValue(const QOpcUaXValue &rhs) | |
void | setValue(float value) |
void | setX(double x) |
float | value() const |
double | x() const |
QVariant | operator QVariant() const |
QOpcUaXValue & | operator=(const QOpcUaXValue &rhs) |
bool | operator==(const QOpcUaXValue &rhs) const |
상세 설명
이것은 OPC UA 1.05 파트 8, 5.6.8에 정의된 OPC UA XVType 유형에 대한 Qt OPC UA 표현입니다. 이 유형은 부동소수점 정밀도의 값을 축에 배정밀도로 배치하는 데 사용됩니다.
멤버 함수 문서
QOpcUaXValue::QOpcUaXValue()
기본값은 파라미터가 설정되지 않은 XValue 객체를 생성합니다.
QOpcUaXValue::QOpcUaXValue(double x, float value)
위치 x 와 값 value 으로 XValue를 생성합니다.
QOpcUaXValue::QOpcUaXValue(const QOpcUaXValue &rhs)
rhs 에서 XValue를 생성합니다.
void QOpcUaXValue::setValue(float value)
위치 x의 값을 value 로 설정합니다.
value()도 참조하세요 .
void QOpcUaXValue::setX(double x)
축에서 값의 위치를 x 로 설정합니다.
x()도 참조하세요 .
float QOpcUaXValue::value() const
위치 x의 값을 반환합니다.
setValue()도 참조하세요 .
double QOpcUaXValue::x() const
축에서 값의 위치를 반환합니다.
setX()도 참조하세요 .
QVariant QOpcUaXValue::operator QVariant() const
이 XValue를 QVariant 로 변환합니다.
QOpcUaXValue &QOpcUaXValue::operator=(const QOpcUaXValue &rhs)
이 XValue에 rhs 의 값을 설정합니다.
bool QOpcUaXValue::operator==(const QOpcUaXValue &rhs) const
이 XValue가 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.