io.mapsmessaging.devices.sensorreadings.NumericSensorReading Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deviceLibrary Show documentation
Show all versions of deviceLibrary Show documentation
Provides a plugable Device integration and access
The newest version!
package io.mapsmessaging.devices.sensorreadings;
import lombok.Getter;
@Getter
public abstract class NumericSensorReading extends SensorReading {
private final T minimum;
@Getter
private final T maximum;
protected NumericSensorReading(String name, String unit, T min, T max, ReadingSupplier valueSupplier) {
super(name, unit, valueSupplier);
this.maximum = max;
this.minimum = min;
}
}