IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

LiteralOperand QML Type

The OPC UA LiteralOperand type.

This type was introduced in QtOpcUa 5.13.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

LiteralOperand QML Type

  • Import Statement: import QtOpcUa

  • Since:: QtOpcUa 5.13

Detailed Description

The LiteralOperand is defined in OPC-UA part 4, 7.4.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.

 
Sélectionnez
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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+