C# Class Opc.Ua.Server.AggregateManager

An object that manages aggregate factories supported by the server.
Inheritance: IDisposable
Afficher le fichier Open project: OPCFoundation/UA-.NET Class Usage Examples

Méthodes publiques

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

Méthode Description
Dispose ( bool disposing ) : void

Method Details

AggregateManager() public méthode

Initilizes the manager.
public AggregateManager ( IServerInternal server ) : System
server IServerInternal
Résultat System

CreateCalculator() public méthode

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

Dispose() public méthode

Frees any unmanaged resources.
public Dispose ( ) : void
Résultat void

GetDefaultConfiguration() public méthode

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

IsSupported() public méthode

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

RegisterFactory() public méthode

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

RegisterFactory() public méthode

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

SetDefaultConfiguration() public méthode

Sets the default aggregate configuration.
public SetDefaultConfiguration ( AggregateConfiguration configuration ) : void
configuration AggregateConfiguration The default aggregate configuration..
Résultat void