En esta página

LiteralOperand QML Type

El tipo «LiteralOperand» de OPC UA. Más información...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.13
Status: Deprecated since 6.9

Este tipo está obsoleto desde QtOpcUa 6.9. Recomendamos encarecidamente no utilizarlo en código nuevo.

Propiedades

Descripción detallada

El LiteralOperand se define en OPC UA 1.05, parte 4, apartado 7.7.4.3. Contiene un valor literal que se utilizará como operando para los filtros.

La configuración del tipo debe realizarse de forma que coincida con los tipos esperados en el servidor. De lo contrario, el tipo se deducirá automáticamente y podría provocar errores al no coincidir con el del servidor.

import QtOpcUa as QtOpcUa

QtOpcUa.LiteralOperand {
    value: 43.21
    type: QtOpcUa.Constants.Double
}

Documentación de la propiedad

type : QOpcUa.Types

Tipo del valor del operando literal.

value : variant

Valor del operando literal.

© 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.