C# Класс Opc.Ua.Server.AggregateManager

An object that manages aggregate factories supported by the server.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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