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

FilterElement QML Type

The OPC UA ContentFilterElement.

This type was introduced in QtOpcUa 5.13.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

FilterElement QML Type

  • Import Statement: import QtOpcUa

  • Since:: QtOpcUa 5.13

Detailed Description

A content filter element contains an operator and operands. There are four different operator types which contain literal values, references to attributes of nodes or to other content filter elements.

A combination of one or more content filter elements makes a content filter which is used by the server to filter data for the criteria defined by the content filter elements. For example, the where clause of an event filter is a content filter which is used to decide if a notification is generated for an event.

 
Sélectionnez
QtOpcUa.FilterElement {
    operator: QtOpcUa.FilterElement.GreaterThanOrEqual
    firstOperand: QtOpcUa.SimpleAttributeOperand { ... }
    secondOperand: QtOpcUa.LiteralOperand { ... }
}

See Also

See also EventFilter

Property Documentation

 

firstOperand : variant

First operand to be used with the operator. This can be one of SimpleAttributeOperand, AttributeOperand, LiteralOperand or ElementOperand.

operatorType : enumeration

The filter operator.

Possible operators for a FilterElement that are specified in OPC-UA part 4, Tables 115 and 116.

Constant

FilterElement.Equals

FilterElement.IsNull

FilterElement.GreaterThan

FilterElement.LessThan

FilterElement.GreaterThanOrEqual

FilterElement.LessThanOrEqual

FilterElement.Like

FilterElement.Not

FilterElement.Between

FilterElement.InList

FilterElement.And

FilterElement.Or

FilterElement.Cast

FilterElement.InView

FilterElement.OfType

FilterElement.RelatedTo

FilterElement.BitwiseAnd

FilterElement.BitwiseOr

secondOperand : variant

Second operand to be used with the operator. This can be one of SimpleAttributeOperand, AttributeOperand, LiteralOperand or ElementOperand.

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