C# Class Opc.Ua.Server.AggregateManager

An object that manages aggregate factories supported by the server.
Inheritance: IDisposable
ファイルを表示 Open project: OPCFoundation/UA-.NET Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

AggregateManager() public method

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

CreateCalculator() public method

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.
return IAggregateCalculator

Dispose() public method

Frees any unmanaged resources.
public Dispose ( ) : void
return void

GetDefaultConfiguration() public method

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

IsSupported() public method

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

RegisterFactory() public method

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

RegisterFactory() public method

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.
return void

SetDefaultConfiguration() public method

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