public class YConsolidatedDataSet extends Object
Modifier and Type | Field and Description |
---|---|
protected ArrayList<YDataSet> |
_datasets |
protected double |
_end |
protected ArrayList<Integer> |
_nextidx |
protected ArrayList<Double> |
_nexttim |
protected int |
_nsensors |
protected ArrayList<Integer> |
_progresss |
protected ArrayList<YSensor> |
_sensors |
protected double |
_start |
Constructor and Description |
---|
YConsolidatedDataSet(double startTime,
double endTime,
ArrayList<YSensor> sensorList) |
Modifier and Type | Method and Description |
---|---|
int |
_init(double startt,
double endt,
ArrayList<YSensor> sensorList) |
int |
nextRecord(ArrayList<Double> datarec)
Extracts the next data record from the dataLogger of all sensors linked to this
object.
|
protected double _start
protected double _end
protected int _nsensors
public int nextRecord(ArrayList<Double> datarec) throws YAPI_Exception
datarec
- : array of floating point numbers, that will be filled by the
function with the timestamp of the measure in first position,
followed by the measured value in next positions.YAPI_Exception
- on errorCopyright © 2019. All rights reserved.