C# 클래스 Opc.Ua.Server.AggregateManager

An object that manages aggregate factories supported by the server.
상속: IDisposable
파일 보기 프로젝트 열기: OPCFoundation/UA-.NET 1 사용 예제들

공개 메소드들

메소드 설명
AggregateManager ( IServerInternal server ) : System

Initilizes the manager.

CreateCalculator ( NodeId aggregateId, System.DateTime startTime, System.DateTime endTime, double processingInterval, bool stepped, AggregateConfiguration configuration ) : IAggregateCalculator

Creates a new aggregate calculator.

Dispose ( ) : void

Frees any unmanaged resources.

GetDefaultConfiguration ( NodeId variableId ) : AggregateConfiguration

Returns the default configuration for the specified variable id.

IsSupported ( NodeId aggregateId ) : bool

Checks if the aggregate is supported by the server.

RegisterFactory ( NodeId aggregateId ) : void

Unregisters an aggregate factory.

RegisterFactory ( NodeId aggregateId, string aggregateName, AggregatorFactory factory ) : void

Registers an aggregate factory.

SetDefaultConfiguration ( AggregateConfiguration configuration ) : void

Sets the default aggregate configuration.

비공개 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

AggregateManager() 공개 메소드

Initilizes the manager.
public AggregateManager ( IServerInternal server ) : System
server IServerInternal
리턴 System

CreateCalculator() 공개 메소드

Creates a new aggregate calculator.
public CreateCalculator ( NodeId aggregateId, System.DateTime startTime, System.DateTime endTime, double processingInterval, bool stepped, AggregateConfiguration configuration ) : IAggregateCalculator
aggregateId NodeId The id of the aggregate function.
startTime System.DateTime When to start processing.
endTime System.DateTime When to stop processing.
processingInterval double The processing interval.
stepped bool Whether stepped interpolation should be used.
configuration AggregateConfiguration The configuaration to use.
리턴 IAggregateCalculator

Dispose() 공개 메소드

Frees any unmanaged resources.
public Dispose ( ) : void
리턴 void

GetDefaultConfiguration() 공개 메소드

Returns the default configuration for the specified variable id.
public GetDefaultConfiguration ( NodeId variableId ) : AggregateConfiguration
variableId NodeId The id of history data node.
리턴 AggregateConfiguration

IsSupported() 공개 메소드

Checks if the aggregate is supported by the server.
public IsSupported ( NodeId aggregateId ) : bool
aggregateId NodeId The id of the aggregate function.
리턴 bool

RegisterFactory() 공개 메소드

Unregisters an aggregate factory.
public RegisterFactory ( NodeId aggregateId ) : void
aggregateId NodeId The id of the aggregate function.
리턴 void

RegisterFactory() 공개 메소드

Registers an aggregate factory.
public RegisterFactory ( NodeId aggregateId, string aggregateName, AggregatorFactory factory ) : void
aggregateId NodeId The id of the aggregate function.
aggregateName string The id of the aggregate name.
factory AggregatorFactory The factory used to create calculators.
리턴 void

SetDefaultConfiguration() 공개 메소드

Sets the default aggregate configuration.
public SetDefaultConfiguration ( AggregateConfiguration configuration ) : void
configuration AggregateConfiguration The default aggregate configuration..
리턴 void