# OpcAggregateConfiguration Class

> Reference: Represents the configuration of the aggregate calculation of a request for processed history data, as defined by the AggregateConfiguration of OPC UA (see AggregateConfiguration).

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Members</dt>
<dd><a href="./members">OpcAggregateConfiguration Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Represents the configuration of the aggregate calculation of a request for processed history data, as defined by the AggregateConfiguration of OPC UA (see [AggregateConfiguration](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreadnodehistoryprocesseddetails/members#aggregateconfiguration)).

## Syntax

<div class="api-signature" data-lang="csharp">

```csharp
public class OpcAggregateConfiguration
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Class OpcAggregateConfiguration
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → **OpcAggregateConfiguration**

## Properties

| Name | Description |
|---|---|
| [PercentDataBad](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaggregateconfiguration/members#percentdatabad) | Gets or sets a value which indicates the minimum percentage of bad data in a given interval required for the status code for the given interval to be set to bad. |
| [PercentDataGood](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaggregateconfiguration/members#percentdatagood) | Gets or sets a value which indicates the minimum percentage of good data in a given interval required for the status code for the given interval to be set to good. |
| [TreatUncertainAsBad](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaggregateconfiguration/members#treatuncertainasbad) | Gets or sets a value indicating whether the server treats data with a status code of the severity uncertain like bad data in the aggregate calculation. |
| [UseServerCapabilitiesDefaults](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaggregateconfiguration/members#useservercapabilitiesdefaults) | Gets or sets a value indicating whether the server uses its own default aggregate configuration instead of the values of this configuration. |
| [UseSlopedExtrapolation](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaggregateconfiguration/members#useslopedextrapolation) | Gets or sets a value indicating whether the server extrapolates data sloped when no boundary value exists (i.e. when extrapolating into the future from the last known value). |

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.5–v2.59 |
