public SensorValue(byte id, SensorList.SensorValueType type, float value) { this.id = id; this.type = type; this.value = value; }
public SensorValue(Sensor sensor, SensorList.SensorValueType type) { id = sensor.SensorId; this.type = type; }