UA Bundle SDK .NET
2.1.0.222
|
An object that manages aggregate factories supported by the server. More...
Inherits IDisposable.
Public Member Functions | |
AggregateManager (ServerManager server) | |
Initilizes the manager. | |
void | Dispose () |
Frees any unmanaged resources. | |
bool | IsSupported (NodeId aggregateId) |
Checks if the aggregate is supported by the server. | |
AggregateConfiguration | GetDefaultConfiguration (NodeId variableId) |
Returns the default configuration for the specified variable id. | |
void | SetDefaultConfiguration (AggregateConfiguration configuration) |
Sets the default aggregate configuration. | |
IAggregateCalculator | CreateCalculator (NodeId aggregateId, DateTime startTime, DateTime endTime, double processingInterval, bool stepped, AggregateConfiguration configuration) |
Creates a new aggregate calculator. | |
void | RegisterFactory (NodeId aggregateId, string aggregateName, AggregatorFactory factory) |
Registers an aggregate factory. | |
void | RegisterFactory (NodeId aggregateId) |
Unregisters an aggregate factory. | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
An overrideable version of the Dispose. | |
Properties | |
double | MinimumProcessingInterval [get, set] |
The minimum processing interval for any aggregate calculation. | |
An object that manages aggregate factories supported by the server.
UnifiedAutomation.UaServer.AggregateManager.AggregateManager | ( | ServerManager | server | ) |
Initilizes the manager.
IAggregateCalculator UnifiedAutomation.UaServer.AggregateManager.CreateCalculator | ( | NodeId | aggregateId, |
DateTime | startTime, | ||
DateTime | endTime, | ||
double | processingInterval, | ||
bool | stepped, | ||
AggregateConfiguration | configuration | ||
) |
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. |
void UnifiedAutomation.UaServer.AggregateManager.Dispose | ( | ) |
Frees any unmanaged resources.
|
protectedvirtual |
An overrideable version of the Dispose.
AggregateConfiguration UnifiedAutomation.UaServer.AggregateManager.GetDefaultConfiguration | ( | NodeId | variableId | ) |
Returns the default configuration for the specified variable id.
variableId | The id of history data node. |
bool UnifiedAutomation.UaServer.AggregateManager.IsSupported | ( | NodeId | aggregateId | ) |
Checks if the aggregate is supported by the server.
aggregateId | The id of the aggregate function. |
void UnifiedAutomation.UaServer.AggregateManager.RegisterFactory | ( | NodeId | aggregateId, |
string | aggregateName, | ||
AggregatorFactory | factory | ||
) |
Registers an aggregate factory.
aggregateId | The id of the aggregate function. |
aggregateName | The id of the aggregate name. |
factory | The factory used to create calculators. |
void UnifiedAutomation.UaServer.AggregateManager.RegisterFactory | ( | NodeId | aggregateId | ) |
Unregisters an aggregate factory.
aggregateId | The id of the aggregate function. |
void UnifiedAutomation.UaServer.AggregateManager.SetDefaultConfiguration | ( | AggregateConfiguration | configuration | ) |
Sets the default aggregate configuration.
configuration | The default aggregate configuration.. |
|
getset |
The minimum processing interval for any aggregate calculation.