C# Class Opc.Ua.Com.Client.ComAeSubscriptionClient

Browses areas and sources in the AE server.
Inheritance: ComObject
Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

An overrideable version of the Dispose.

ReleaseServer ( ) : void

Releases all references to the server.

Private Methods

Méthode Description
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.

Method Details

AddItem() public méthode

Adds an item to a subscription.
public AddItem ( MonitoredItem monitoredItem ) : void
monitoredItem Opc.Ua.Server.MonitoredItem
Résultat void

ComAeSubscriptionClient() public méthode

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.
Résultat System

Create() public méthode

Creates the subscription.
public Create ( ) : void
Résultat void

Delete() public méthode

Deletes the subscription.
public Delete ( ) : void
Résultat void

Dispose() protected méthode

An overrideable version of the Dispose.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

OnEvent() public méthode

Called when events arrive from the server.
public OnEvent ( OpcRcw.Ae.ONEVENTSTRUCT events ) : void
events OpcRcw.Ae.ONEVENTSTRUCT The events.
Résultat void

OnRefresh() public méthode

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.
Résultat void

Refresh() public méthode

Refreshes the conditions monitored by the subscription.
public Refresh ( List events ) : void
events List The events.
Résultat void

ReleaseServer() protected méthode

Releases all references to the server.
protected ReleaseServer ( ) : void
Résultat void

RemoveItem() public méthode

Removes an item from the subscription.
public RemoveItem ( MonitoredItem monitoredItem ) : int
monitoredItem Opc.Ua.Server.MonitoredItem
Résultat int