Average Property
- Last UpdatedAug 21, 2026
- 1 minute read
Gets or sets the time-weighted average value of retrieval cycle.
'Declaration
Public Property Average As Double
'Usage
Dim instance As AnalogSummaryQueryResult
Dim value As Double
instance.Average = value
value = instance.Average
public double Average {get; set;}
Property Value
The time-weighted average value of the retrieval cycle.This is calculated by using the individual summary averages. The calculation is:
Sum(average * delta t) / Total time of average in all cycles
For analog tags, the calculation is:
Sum(value * delta t) / Total time
Delta t is prorated for any partially contained storage cycles.
This is like the values returned by an Average query against the History table for a cycle of the same length, where the History row DateTime is the same as the EndDateTime.