package cz.senslog.analytics.domain;

import java.time.OffsetDateTime;

public record RawObservation(long unitId, long sensorId, double value, OffsetDateTime timestamp) {

    public static RawObservation of(long unitId, long sensorId, double value, OffsetDateTime timestamp) {
        return new RawObservation(unitId, sensorId, value, timestamp);
    }
}
