UA Bundle SDK .NET
2.2.5.284
|
An object that manages aggregate factories supported by the server. More...
Inherits IDisposable.
Public Member Functions | |
AggregateManager (ServerManager server) | |
Initilizes the manager. More... | |
void | Dispose () |
Frees any unmanaged resources. More... | |
bool | IsSupported (NodeId aggregateId) |
Checks if the aggregate is supported by the server. More... | |
AggregateConfiguration | GetDefaultConfiguration (NodeId variableId) |
Returns the default configuration for the specified variable id. More... | |
void | SetDefaultConfiguration (AggregateConfiguration configuration) |
Sets the default aggregate configuration. More... | |
IAggregateCalculator | CreateCalculator (NodeId aggregateId, DateTime startTime, DateTime endTime, double processingInterval, bool stepped, AggregateConfiguration configuration) |
Creates a new aggregate calculator. More... | |
void | RegisterFactory (NodeId aggregateId, AggregatorFactory factory) |
Registers an aggregate factory. More... | |
void | UnregisterFactory (NodeId aggregateId) |
Unregisters an aggregate factory. More... | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
An overrideable version of the Dispose. More... | |
Properties | |
double | MinimumProcessingInterval [get, set] |
The minimum processing interval for any aggregate calculation. More... | |
An object that manages aggregate factories supported by the server.
|
inline |
Initilizes the manager.
|
inline |
Creates a new aggregate calculator.
aggregateId | The id of the aggregate function. |
startTime | When to start processing. |
endTime | When to stop processing. |
processingInterval | The processing interval. |
stepped | Whether stepped interpolation should be used. |
configuration | The configuaration to use. |
|
inline |
Frees any unmanaged resources.
|
inlineprotectedvirtual |
An overrideable version of the Dispose.
|
inline |
Returns the default configuration for the specified variable id.
variableId | The id of history data node. |
|
inline |
Checks if the aggregate is supported by the server.
aggregateId | The id of the aggregate function. |
|
inline |
Registers an aggregate factory.
aggregateId | The id of the aggregate function. |
factory | The factory used to create calculators. |
|
inline |
Sets the default aggregate configuration.
configuration | The default aggregate configuration.. |
|
inline |
Unregisters an aggregate factory.
aggregateId | The id of the aggregate function. |
|
getset |
The minimum processing interval for any aggregate calculation.