Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Small bug in package com.serotonin.m2m2.rt.script; NumericPointWrapper class
-
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.
-
hussam,
Thank you for letting us know about this. I will make sure this fix gets added to the next release. In the future feel free to add any potential bugs to our git Issue list here: