to de mango develop, the function have one small bug. is right?
private AnalogStatistics getStats(long from, long to)
{
PointValueTime start = this.point.getPointValueBefore(from);
List<PointValueTime> values = this.point.getPointValuesBetween(from, to);
PointValueTime end = this.point.getPointValueAfter(from); //here should be to,is not from
AnalogStatistics stats = new AnalogStatistics(from, to, start, values, end);
return stats;
}
who have the git account,please update.