AFCalculation Methods
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFCalculation type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| CalculateAtIntervals |
This method returns an AFValues collection that contains the result of evaluating the passed expression over the passed time range
at a defined interval.
| |
| CalculateAtRecordedValues |
This method returns an AFValues collection that contains the result of evaluating the passed expression at each
point in time over the passed time range where a recorded value exists for a member of the expression.
| |
| CalculateAtTimes |
This method returns an AFValues collection that contains the result of evaluating the passed expression over the passed points in time.
| |
| CalculateSummaries |
This method evaluates the specified expression over the passed time range.
The passed time range is first divided into a number of summary intervals.
The method then computes the specified summaries over each interval.
| |
| ConvertExpressionTarget |
Convert a Performance Equation (PE) Expression from one target to another.
| |
| ConvertFilterTarget |
Convert a Performance Equation Filter (PE) Expression used in a from one target to another.
| |
| DetermineEvaluationServer |
This method returns the server that the expression, with the specified target, will execute on.
| |
| PercentTrue |
This method evaluates the passed boolean expression over the passed time range.
The passed time range is first divided into a number of calculation intervals.
The method then computes the percentage of time the passed expression evaluates
to true over each of the periods.
|