Search in sources :

Example 1 with MultiValueTime

use of com.serotonin.m2m2.rt.dataImage.MultiValueTime in project ma-core-public by infiniteautomation.

the class PVTCollator method row.

@Override
public void row(IdPointValueTime pvt, int index) {
    if (mvt == null || mvt.getTime() < pvt.getTime()) {
        done();
        mvt = new MultiValueTime(new Object[pointIds.size()], pvt.getTime());
    }
    mvt.getValues()[pointIds.indexOf(pvt.getId())] = pvt.getValue();
}
Also used : MultiValueTime(com.serotonin.m2m2.rt.dataImage.MultiValueTime)

Aggregations

MultiValueTime (com.serotonin.m2m2.rt.dataImage.MultiValueTime)1