QOpcUaEUInformation Class
OPC UA EURange 유형. 더 보기...
헤더: | #include <QOpcUaEUInformation> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
공용 함수
QOpcUaEUInformation() | |
QOpcUaEUInformation(const QString &namespaceUri, qint32 unitId, const QOpcUaLocalizedText &displayName, const QOpcUaLocalizedText &description) | |
QOpcUaEUInformation(const QOpcUaEUInformation &rhs) | |
QOpcUaLocalizedText | description() const |
QOpcUaLocalizedText | displayName() const |
QString | namespaceUri() const |
void | setDescription(const QOpcUaLocalizedText &description) |
void | setDisplayName(const QOpcUaLocalizedText &displayName) |
void | setNamespaceUri(const QString &namespaceUri) |
void | setUnitId(qint32 unitId) |
qint32 | unitId() const |
QVariant | operator QVariant() const |
QOpcUaEUInformation & | operator=(const QOpcUaEUInformation &rhs) |
bool | operator==(const QOpcUaEUInformation &rhs) const |
상세 설명
OPC UA 1.05 파트 8, 5.6.3에 정의된 OPC UA EUInformation 유형에 대한 Qt OPC UA 표현입니다. EUInformation 값은 단위에 대한 정보를 포함하며 주로 숫자 값 속성을 가진 노드의 속성으로 사용됩니다. 이 정보는 예를 들어 GUI 요소에 텍스트와 툴팁을 추가하는 데 사용할 수 있습니다.
멤버 함수 문서
QOpcUaEUInformation::QOpcUaEUInformation()
기본값은 매개변수가 설정되지 않은 EU 정보를 구성합니다.
QOpcUaEUInformation::QOpcUaEUInformation(const QString &namespaceUri, qint32 unitId, const QOpcUaLocalizedText &displayName, const QOpcUaLocalizedText &description)
네임스페이스 URI namespaceUri, 단위 ID unitId, 표시 이름 displayName 및 설명 description 으로 EUinformation을 구성합니다.
QOpcUaEUInformation::QOpcUaEUInformation(const QOpcUaEUInformation &rhs)
rhs 에서 EUinformation을 구축합니다.
QOpcUaLocalizedText QOpcUaEUInformation::description() const
단위 설명(예: 섭씨도)을 반환합니다.
setDescription()도 참조하세요 .
QOpcUaLocalizedText QOpcUaEUInformation::displayName() const
단위의 표시 이름(예: °C)을 반환합니다.
setDisplayName()도 참조하세요 .
QString QOpcUaEUInformation::namespaceUri() const
단위의 네임스페이스 URI를 반환합니다.
setNamespaceUri()도 참조하세요 .
void QOpcUaEUInformation::setDescription(const QOpcUaLocalizedText &description)
단위가 description 로 설정합니다.
description()도 참조하세요 .
void QOpcUaEUInformation::setDisplayName(const QOpcUaLocalizedText &displayName)
장치의 표시 이름을 displayName 로 설정합니다.
displayName()도 참조하세요 .
void QOpcUaEUInformation::setNamespaceUri(const QString &namespaceUri)
단위의 네임스페이스 URI를 namespaceUri 로 설정합니다.
namespaceUri()도 참조하세요 .
void QOpcUaEUInformation::setUnitId(qint32 unitId)
장치의 기계 판독 가능 식별자를 unitId 로 설정합니다.
unitId()도 참조하세요 .
qint32 QOpcUaEUInformation::unitId() const
단위의 기계 판독 가능 식별자를 반환합니다.
setUnitId()도 참조하세요 .
QVariant QOpcUaEUInformation::operator QVariant() const
이 EU정보를 QVariant 로 변환합니다.
QOpcUaEUInformation &QOpcUaEUInformation::operator=(const QOpcUaEUInformation &rhs)
이 EU정보에서 rhs 의 값을 설정합니다.
bool QOpcUaEUInformation::operator==(const QOpcUaEUInformation &rhs) const
이 EU정보의 값이 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.