protected override DataValue ComputeValue(TimeSlice slice)
{
uint? id = AggregateId.Identifier as uint?;
if (id != null)
{
switch (id.Value)
{
case Objects.AggregateFunction_Start:
{
return ComputeStartEnd(slice, false);
}
case Objects.AggregateFunction_End:
{
return ComputeStartEnd(slice, true);
}
case Objects.AggregateFunction_Delta:
{
return ComputeDelta(slice);
}
case Objects.AggregateFunction_StartBound:
{
return ComputeStartEnd2(slice, false);
}
case Objects.AggregateFunction_EndBound:
{
return ComputeStartEnd2(slice, true);
}
case Objects.AggregateFunction_DeltaBounds:
{
return ComputeDelta2(slice);
}
}
}
return base.ComputeValue(slice);
}
#endregion