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

Stores the type information provided by the AE server.
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
CreateInstance ( ServerSystemContext context, AeEventTypeState eventType ) : BaseEventState

Creates an instance of an event.

FindType ( ServerSystemContext context, Opc.Ua.NodeId nodeId ) : AeEventTypeState

Returns the type identified by the category id and condition name.

GetMappingNode ( ServerSystemContext context, Opc.Ua.NodeId nodeId ) : AeEventTypeMappingState

Returns the node for the event type mapping identified by the node id.

IsKnownName ( string description ) : bool

Checks for alternate spellings of a well known name defined by the AE specification.

LoadEventType ( ComAeClient client, int eventTypeId ) : void

Fetches the event categories for the specified event type.

LoadEventTypes ( ComAeClient client ) : void

Fetches the event type information from the AE server.

UpdateCache ( ServerSystemContext context, ushort namespaceIndex ) : void

Updates the event types in cache with the most recent info fetched from the AE server.

비공개 메소드들

메소드 설명
DetermineMapping ( EventType eventType ) : void

Uses the recommended names in the AE specification to map to predefined UA event types.

LoadConditionEvent ( ComAeClient client, int eventTypeId, int categoryId, string description, List attributes ) : void
LoadEventAttributes ( ComAeClient client, int eventTypeId, int categoryId ) : List

Fetches the attributes for the category from the AE server.

메소드 상세

CreateInstance() 공개 메소드

Creates an instance of an event.
public CreateInstance ( ServerSystemContext context, AeEventTypeState eventType ) : BaseEventState
context Opc.Ua.Server.ServerSystemContext
eventType AeEventTypeState
리턴 Opc.Ua.BaseEventState

FindType() 공개 메소드

Returns the type identified by the category id and condition name.
public FindType ( ServerSystemContext context, Opc.Ua.NodeId nodeId ) : AeEventTypeState
context Opc.Ua.Server.ServerSystemContext
nodeId Opc.Ua.NodeId
리턴 AeEventTypeState

GetMappingNode() 공개 메소드

Returns the node for the event type mapping identified by the node id.
public GetMappingNode ( ServerSystemContext context, Opc.Ua.NodeId nodeId ) : AeEventTypeMappingState
context Opc.Ua.Server.ServerSystemContext
nodeId Opc.Ua.NodeId
리턴 AeEventTypeMappingState

IsKnownName() 공개 정적인 메소드

Checks for alternate spellings of a well known name defined by the AE specification.
public static IsKnownName ( string description ) : bool
description string
리턴 bool

LoadEventType() 공개 메소드

Fetches the event categories for the specified event type.
public LoadEventType ( ComAeClient client, int eventTypeId ) : void
client ComAeClient
eventTypeId int
리턴 void

LoadEventTypes() 공개 메소드

Fetches the event type information from the AE server.
public LoadEventTypes ( ComAeClient client ) : void
client ComAeClient
리턴 void

UpdateCache() 공개 메소드

Updates the event types in cache with the most recent info fetched from the AE server.
public UpdateCache ( ServerSystemContext context, ushort namespaceIndex ) : void
context Opc.Ua.Server.ServerSystemContext
namespaceIndex ushort
리턴 void