C# 클래스 Opc.Ua.Com.Client.ComAeSubscriptionClient

Browses areas and sources in the AE server.
상속: ComObject
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
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