DataStatMovingAverage.addData Method¶
Module: DataStatMovingAverage
Definition¶
Incorporates a new data point into the moving average calculation, updating the average to reflect recent data trends.
int id3DevicesDataStatMovingAverage_AddData (
ID3_DEVICES_DATA_STAT_MOVING_AVERAGE hDataStatMovingAverage,
int data)
Parameters
hDataStatMovingAverage
ID3_DEVICES_DATA_STAT_MOVING_AVERAGEin Handle to the DataStatMovingAverage object.data
intin The new data point to be added to the moving average calculation.
Returns