C# Класс Quickstarts.AlarmConditionClient.FilterDefinition

Defines a event filter for a subscription.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AreaId Opc.Ua.NodeId
EventTypes IList
IgnoreSuppressedOrShelved bool
SelectClauses SimpleAttributeOperandCollection
Severity EventSeverity

Открытые методы

Метод Описание
ConstructFilter ( Session session ) : EventFilter

Constructs the event filter for the subscription.

ConstructSelectClauses ( Session session ) : SimpleAttributeOperandCollection

Constructs the select clauses for a set of event types.

Each event type is an ObjectType in the address space. The fields supported by the server are defined as children of the ObjectType. Many of the fields are manadatory and are defined by the UA information model, however, indiviudual servers many not support all of the optional fields. This method browses the type model and

CreateMonitoredItem ( Session session ) : MonitoredItem

Creates the monitored item based on the current definition.

Приватные методы

Метод Описание
CollectFields ( Session session, Opc.Ua.NodeId nodeId, QualifiedNameCollection parentPath, SimpleAttributeOperandCollection eventFields, QualifiedNameCollection>.Dictionary foundNodes ) : void

Collects the fields for the instance node.

CollectFields ( Session session, Opc.Ua.NodeId eventTypeId, SimpleAttributeOperandCollection eventFields ) : void

Collects the fields for the event type.

ContainsPath ( SimpleAttributeOperandCollection selectClause, QualifiedNameCollection browsePath ) : bool

Determines whether the specified select clause contains the browse path.

Описание методов

ConstructFilter() публичный Метод

Constructs the event filter for the subscription.
public ConstructFilter ( Session session ) : EventFilter
session Opc.Ua.Client.Session
Результат Opc.Ua.EventFilter

ConstructSelectClauses() публичный Метод

Constructs the select clauses for a set of event types.
Each event type is an ObjectType in the address space. The fields supported by the server are defined as children of the ObjectType. Many of the fields are manadatory and are defined by the UA information model, however, indiviudual servers many not support all of the optional fields. This method browses the type model and
public ConstructSelectClauses ( Session session ) : SimpleAttributeOperandCollection
session Opc.Ua.Client.Session The session.
Результат SimpleAttributeOperandCollection

CreateMonitoredItem() публичный Метод

Creates the monitored item based on the current definition.
public CreateMonitoredItem ( Session session ) : MonitoredItem
session Opc.Ua.Client.Session The session.
Результат Opc.Ua.Client.MonitoredItem

Описание свойств

AreaId публичное свойство

The NodeId for the Area that is subscribed to (the entire Server if not specified).
public NodeId,Opc.Ua AreaId
Результат Opc.Ua.NodeId

EventTypes публичное свойство

The types for the events of interest.
public IList EventTypes
Результат IList

IgnoreSuppressedOrShelved публичное свойство

Whether suppressed or shelved condition events are of interest.
public bool IgnoreSuppressedOrShelved
Результат bool

SelectClauses публичное свойство

The select clauses to use with the filter.
public SimpleAttributeOperandCollection SelectClauses
Результат SimpleAttributeOperandCollection

Severity публичное свойство

The minimum severity for the events of interest.
public EventSeverity Severity
Результат EventSeverity