QOpcUaEUInformation Class
El tipo de EURange de OPC UA. Más...
| Cabecera: | #include <QOpcUaEUInformation> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa)target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Funciones públicas
| 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 |
Descripción detallada
Esta es la representación Qt OPC UA para el tipo OPC UA EUInformation definido en OPC UA 1.05 parte 8, 5.6.3. Los valores de EUInformation contienen información sobre unidades y se utilizan principalmente como propiedad de un nodo con un atributo de valor numérico. La información puede utilizarse, por ejemplo, para añadir texto e información sobre herramientas a los elementos de la interfaz gráfica de usuario.
Documentación de las funciones miembro
QOpcUaEUInformation::QOpcUaEUInformation()
Por defecto construye una información UE sin parámetros.
QOpcUaEUInformation::QOpcUaEUInformation(const QString &namespaceUri, qint32 unitId, const QOpcUaLocalizedText &displayName, const QOpcUaLocalizedText &description)
Construye una EUinformation con namespace URI namespaceUri, unit id unitId, display name displayName y description description.
QOpcUaEUInformation::QOpcUaEUInformation(const QOpcUaEUInformation &rhs)
Construye un EUinformation a partir de rhs.
QOpcUaLocalizedText QOpcUaEUInformation::description() const
Devuelve la descripción de la unidad, por ejemplo grado Celsius.
Véase también setDescription().
QOpcUaLocalizedText QOpcUaEUInformation::displayName() const
Devuelve el nombre de la unidad, por ejemplo °C.
Véase también setDisplayName().
QString QOpcUaEUInformation::namespaceUri() const
Devuelve el URI del espacio de nombres de la unidad.
Véase también setNamespaceUri().
void QOpcUaEUInformation::setDescription(const QOpcUaLocalizedText &description)
Establece la descripción de la unidad en description.
Véase también description().
void QOpcUaEUInformation::setDisplayName(const QOpcUaLocalizedText &displayName)
Establece el nombre de visualización de la unidad en displayName.
Véase también displayName().
void QOpcUaEUInformation::setNamespaceUri(const QString &namespaceUri)
Establece el URI del espacio de nombres de la unidad en namespaceUri.
Véase también namespaceUri().
void QOpcUaEUInformation::setUnitId(qint32 unitId)
Establece el identificador legible por máquina de la unidad en unitId.
Véase también unitId().
qint32 QOpcUaEUInformation::unitId() const
Devuelve el identificador legible por máquina de la unidad.
Véase también setUnitId().
QOpcUaEUInformation::operator QVariant() const
Convierte esta información de la UE en QVariant.
QOpcUaEUInformation &QOpcUaEUInformation::operator=(const QOpcUaEUInformation &rhs)
Establece los valores de rhs en esta información de la UE.
bool QOpcUaEUInformation::operator==(const QOpcUaEUInformation &rhs) const
Devuelve true si esta información UE tiene el mismo valor que rhs.
© 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.