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 |
| 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()
Default는 매개변수가 설정되지 않은 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 에서 EU정보를 생성합니다.
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()도 참조하십시오 .
QOpcUaEUInformation::operator QVariant() const
이 EU 정보를 QVariant 로 변환합니다.
QOpcUaEUInformation &QOpcUaEUInformation::operator=(const QOpcUaEUInformation &rhs)
이 EUinformation 문서에 rhs 에 있는 값들을 설정합니다.
bool QOpcUaEUInformation::operator==(const QOpcUaEUInformation &rhs) const
이 EU정보가 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.