FilterElement QML Type

OPC UA 콘텐츠 필터 요소. 더 보기...

Import Statement: import QtOpcUa
Since: QtOpcUa 5.13

속성

상세 설명

콘텐츠 필터 요소에는 연산자와 피연산자가 포함됩니다. 리터럴 값, 노드의 속성 또는 다른 콘텐츠 필터 요소에 대한 참조를 포함하는 네 가지 연산자 유형이 있습니다.

하나 이상의 콘텐츠 필터 요소를 조합하면 서버에서 콘텐츠 필터 요소에 정의된 기준에 따라 데이터를 필터링하는 데 사용되는 콘텐츠 필터가 만들어집니다. 예를 들어 이벤트 필터의 where 절은 이벤트에 대한 알림이 생성될지 여부를 결정하는 데 사용되는 콘텐츠 필터입니다.

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

EventFilter도 참조하세요 .

속성 문서

firstOperand : variant

연산자와 함께 사용할 첫 번째 피연산자입니다. SimpleAttributeOperand , AttributeOperand, LiteralOperand 또는 ElementOperand 중 하나 일 수 있습니다.


operatorType : enumeration

필터 연산자입니다.

OPC UA 1.05 파트 4, 7.7.3에 지정된 FilterElement 에 사용할 수 있는 연산자

ConstantValue
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

연산자와 함께 사용할 두 번째 피연산자입니다. SimpleAttributeOperand , AttributeOperand, LiteralOperand 또는 ElementOperand 중 하나 일 수 있습니다.


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