Class MovingAverage
java.lang.Object
com.inductiveautomation.ignition.common.MovingAverage
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a moving average over the last 5 values.MovingAverage(int n) Creates a moving average over the last N values.
- 
Method Summary
- 
Constructor Details- 
MovingAveragepublic MovingAverage()Creates a moving average over the last 5 values.
- 
MovingAveragepublic MovingAverage(int n) Creates a moving average over the last N values.- Parameters:
- n- last N values to average.
 
 
- 
- 
Method Details- 
update
- 
getAveragepublic double getAverage()
 
-