-
Notifications
You must be signed in to change notification settings - Fork 0
10. Correction
Enes Okullu edited this page May 8, 2024
·
3 revisions
During calculation of ETA surge may occur. This module has several methods to minimize surges.
Correction correction = new Correction();
correction.PreventSurgeByPercentage(eta);
// correction.PreventSurgeByValueRepeatence(eta);
discretePercentage
must be 0.00
and 1.00
.
PreventSurgeByPercentage(long? eta, double discretePercentage);
PreventSurgeByPercentage(double? eta, double discretePercentage);
As value repeats, it brings latest one.
PreventSurgeByValueRepeatence(long? eta);
PreventSurgeByValueRepeatence(double? eta);