Nesta página

LiteralOperand QML Type

O tipo LiteralOperand do OPC UA. Mais...

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

Este tipo está obsoleto desde o QtOpcUa 6.9. Recomendamos enfaticamente que não seja utilizado em código novo.

Propriedades

Descrição detalhada

O LiteralOperand é definido na norma OPC UA 1.05, parte 4, seção 7.7.4.3. Ele contém um valor literal que deve ser utilizado como operando para filtros.

A configuração do tipo deve ser feita de forma a corresponder aos tipos esperados no servidor. Caso contrário, o tipo será inferido e poderá causar erros, pois não corresponderá ao do servidor.

import QtOpcUa as QtOpcUa

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

Documentação da propriedade

type : QOpcUa.Types

Tipo do valor do operando literal.

value : variant

Valor do 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.