C# Класс Opc.Ua.Com.Client.ComAeSubscriptionClient

Browses areas and sources in the AE server.
Наследование: ComObject
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddItem ( MonitoredItem monitoredItem ) : void

Adds an item to a subscription.

ComAeSubscriptionClient ( ServerSystemContext context, ComAeClientConfiguration configuration, AeTypeCache cache, ushort namespaceIndex, ComAeClientManager manager, MonitoredItem monitoredItem ) : System

Initializes a new instance of the ComAeSubscriptionClient class.

Create ( ) : void

Creates the subscription.

Delete ( ) : void

Deletes the subscription.

OnEvent ( OpcRcw.Ae.ONEVENTSTRUCT events ) : void

Called when events arrive from the server.

OnRefresh ( OpcRcw.Ae.ONEVENTSTRUCT events, bool lastRefresh ) : void

Called when refresh events arrive from the server.

Refresh ( List events ) : void

Refreshes the conditions monitored by the subscription.

RemoveItem ( MonitoredItem monitoredItem ) : int

Removes an item from the subscription.

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

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

An overrideable version of the Dispose.

ReleaseServer ( ) : void

Releases all references to the server.

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

Метод Описание
CancelRefresh ( ) : bool

Cancels the refresh for all conditions.

DispatchEvent ( OpcRcw.Ae.ONEVENTSTRUCT e ) : BaseEventState

Dispatches the event.

Refresh ( ) : bool

Refreshes all conditions.

SelectReturnedAttributes ( int categoryId, int attributeIds ) : bool

Selects the returned attributes.

SetFilter ( string qualifiedName, bool isSource ) : bool

Sets the filter.

UpdateAlarm ( AlarmConditionState instance, EventType eventType, OpcRcw.Ae.ONEVENTSTRUCT e ) : void

Updates the condition event.

UpdateAuditEvent ( AuditEventState instance, EventType eventType, OpcRcw.Ae.ONEVENTSTRUCT e ) : void

Updates the audit event.

UpdateBaseEvent ( BaseEventState instance, EventType eventType, OpcRcw.Ae.ONEVENTSTRUCT e ) : void

Updates the base event.

UpdateExclusiveLimitAlarm ( ExclusiveLimitAlarmState instance, EventType eventType, OpcRcw.Ae.ONEVENTSTRUCT e ) : void

Updates the exclusive limit alarm event.

UpdateNonExclusiveLimitAlarm ( NonExclusiveLimitAlarmState instance, EventType eventType, OpcRcw.Ae.ONEVENTSTRUCT e ) : void

Updates the non-exclusive limit event.

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

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

Adds an item to a subscription.
public AddItem ( MonitoredItem monitoredItem ) : void
monitoredItem Opc.Ua.Server.MonitoredItem
Результат void

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

Initializes a new instance of the ComAeSubscriptionClient class.
public ComAeSubscriptionClient ( ServerSystemContext context, ComAeClientConfiguration configuration, AeTypeCache cache, ushort namespaceIndex, ComAeClientManager manager, MonitoredItem monitoredItem ) : System
context Opc.Ua.Server.ServerSystemContext The context.
configuration ComAeClientConfiguration The configuration.
cache AeTypeCache The cache for known types.
namespaceIndex ushort The namespace index for the event types.
manager ComAeClientManager The manager.
monitoredItem Opc.Ua.Server.MonitoredItem The monitored item.
Результат System

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

Creates the subscription.
public Create ( ) : void
Результат void

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

Deletes the subscription.
public Delete ( ) : void
Результат void

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

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

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

Called when events arrive from the server.
public OnEvent ( OpcRcw.Ae.ONEVENTSTRUCT events ) : void
events OpcRcw.Ae.ONEVENTSTRUCT The events.
Результат void

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

Called when refresh events arrive from the server.
public OnRefresh ( OpcRcw.Ae.ONEVENTSTRUCT events, bool lastRefresh ) : void
events OpcRcw.Ae.ONEVENTSTRUCT The events.
lastRefresh bool if set to true if the refresh is complete.
Результат void

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

Refreshes the conditions monitored by the subscription.
public Refresh ( List events ) : void
events List The events.
Результат void

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

Releases all references to the server.
protected ReleaseServer ( ) : void
Результат void

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

Removes an item from the subscription.
public RemoveItem ( MonitoredItem monitoredItem ) : int
monitoredItem Opc.Ua.Server.MonitoredItem
Результат int