C# Класс Opc.Ua.Com.Server.ComAe2Subscription

A base class for classes that implement an OPC COM specification.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ApplyChanges ( ) : void

Applies any changes to the subscription.

CancelRefresh ( ) : void

Cancels a previous refresh.

ComAe2Subscription ( ComAe2Proxy server, ComAe2ProxyConfiguration configuration, ComAeNamespaceMapper mapper, ComAe2Browser browser, AeConditionManager conditionManager ) : System

Initializes a new instance of the ComHdaBrowser class.

Dispose ( ) : void

Frees any unmanaged resources.

GetFilter ( int &eventTypes, ushort &lowSeverity, ushort &highSeverity, uint &categoryIds, string &areas, string &sources ) : void

Get the event filter parameters.

GetSelectedAttributes ( uint categoryId ) : uint[]

Returns the currently selected attributes.

OnSessionReconected ( Session session ) : void

Updates the object after a reconnect.

Refresh ( ) : void

Initiates of refresh of all conditions.

SelectAttributes ( uint categoryId, uint attributeIds ) : void

Selects the attributes for the event category.

SetCallback ( IComAeEventCallback callback ) : void

Sets the callback.

SetFilter ( int eventTypes, ushort lowSeverity, ushort highSeverity, uint categoryIds, string areas, string sources ) : void

Sets the event filter.

SetKeepAlive ( uint keepAlive ) : uint

Sets the keep alive rate.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

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

Метод Описание
CreateMonitoredItem ( NodeId notifierId ) : MonitoredItem

Creates a new monitored item and adds it to the subscription.

CreateSubscription ( ) : void

Creates the subscription.

DoProcessQueue ( object state ) : void

Called send events to client.

DoRefresh ( object state ) : void

Cslled to send refresh events to client.

ModifySubscription ( ) : void

Modifies a subscription.

OnEventNotification ( Subscription subscription, EventNotificationList notification, IList stringTable ) : void
SendInBlocks ( IComAeEventCallback callback, Queue events, uint blockSize, bool refreshFlag ) : void

Sends the queued events in blocks.

ThrowIfDisposed ( ) : void

Throws if disposed.

Translate ( AeEvent e ) : OpcRcw.Ae.ONEVENTSTRUCT

Marshals an event for return to the client.

UpdateAreaFilter ( List areas ) : void

Updates the list of area filters.

UpdateSourceFilter ( List sources ) : void

Updates the list of source filters.

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

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

Applies any changes to the subscription.
public ApplyChanges ( ) : void
Результат void

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

Cancels a previous refresh.
public CancelRefresh ( ) : void
Результат void

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

Initializes a new instance of the ComHdaBrowser class.
public ComAe2Subscription ( ComAe2Proxy server, ComAe2ProxyConfiguration configuration, ComAeNamespaceMapper mapper, ComAe2Browser browser, AeConditionManager conditionManager ) : System
server ComAe2Proxy
configuration ComAe2ProxyConfiguration
mapper ComAeNamespaceMapper
browser ComAe2Browser
conditionManager AeConditionManager
Результат System

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

Frees any unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

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

Get the event filter parameters.
public GetFilter ( int &eventTypes, ushort &lowSeverity, ushort &highSeverity, uint &categoryIds, string &areas, string &sources ) : void
eventTypes int
lowSeverity ushort
highSeverity ushort
categoryIds uint
areas string
sources string
Результат void

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

Returns the currently selected attributes.
public GetSelectedAttributes ( uint categoryId ) : uint[]
categoryId uint
Результат uint[]

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

Updates the object after a reconnect.
public OnSessionReconected ( Session session ) : void
session Session
Результат void

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

Initiates of refresh of all conditions.
public Refresh ( ) : void
Результат void

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

Selects the attributes for the event category.
public SelectAttributes ( uint categoryId, uint attributeIds ) : void
categoryId uint
attributeIds uint
Результат void

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

Sets the callback.
public SetCallback ( IComAeEventCallback callback ) : void
callback IComAeEventCallback The callback.
Результат void

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

Sets the event filter.
public SetFilter ( int eventTypes, ushort lowSeverity, ushort highSeverity, uint categoryIds, string areas, string sources ) : void
eventTypes int
lowSeverity ushort
highSeverity ushort
categoryIds uint
areas string
sources string
Результат void

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

Sets the keep alive rate.
public SetKeepAlive ( uint keepAlive ) : uint
keepAlive uint
Результат uint