AF SDK Reference

## AFSummaryTypes Enumeration |

Flags to indicate which summary type calculation(s) should be performed.

Syntax

Members

Member name | Value | Description | |
---|---|---|---|

None | 0 | A summary type is not specified. | |

Total | 1 | A totalization over the time range. | |

Average | 2 | The average value over the time range. | |

Minimum | 4 | The minimum value over the time range. | |

Maximum | 8 | The maximum value over the time range. | |

Range | 16 | The range of values over the time range (Maximum-Minimum) | |

StdDev | 32 | The standard deviation over the time range. | |

PopulationStdDev | 64 | The population standard deviation over the time range. | |

Count | 128 | The sum of event count over the time range when calculation basis is event weighted. The sum of event time duration over the time range when calculation basis is time weighted. | |

PercentGood | 8192 | Percent of data with good value during the calculation period. For time weighted calculations, the percentage is based on time. For event weighted calculations, the percent is based on event count. | |

TotalWithUOM | 16384 | A totalization over the time range with UOM assigned to the result if the input has units of measure defined. If the input does not have units of measure defined, this returns the same value as Total. If no valid units can be determined, this value will contain an error. | |

All | 24831 | A convenience for requesting all available summary calculations. | |

AllForNonNumeric | 8320 | A convenience for requesting all available summary calculations for non-numeric data. |

Version Information

See Also