LiteralOperand QML Type

The OPC UA LiteralOperand type. More...

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

This type is deprecated since QtOpcUa 6.9. We strongly advise against using it in new code.

Properties

Detailed Description

The LiteralOperand is defined in OPC UA 1.05 part 4, 7.7.4.3. It contains a literal value that is to be used as operand for filters.

Setting the type should be done to match the expected types on the server. Otherwise the type will be guessed and may lead to errors because it does not match on the server.

import QtOpcUa as QtOpcUa

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

Property Documentation

type : QOpcUa.Types

Type of the value of the literal operand.


value : variant

Value of the literal operand.


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