이 페이지에서

FilterElement QML Type

OPC UA ContentFilterElement. 더 보기...

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

이 타입은 QtOpcUa 6.9부터 더 이상 사용되지 않습니다. 새로운 코드에서는 이 타입을 사용하지 않는 것을 강력히 권장합니다.

속성

상세 설명

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

하나 이상의 콘텐츠 필터 요소를 조합하면 콘텐츠 필터가 구성되며, 서버는 이 콘텐츠 필터를 사용하여 콘텐츠 필터 요소에 정의된 기준에 따라 데이터를 필터링합니다. 예를 들어, 이벤트 필터의 ` 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 )에 사용할 수 있는 연산자

상수값
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 중 하나일 수 있습니다.

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