Interface MicroCalibrationStorage


public interface MicroCalibrationStorage
Interface for managing micro pump calibration persistence.
Version:
2024-10-09
  • Method Summary

    Modifier and Type
    Method
    Description
    getCalibration(int idx)
    Get calibration data for the specified pump index.
    double
    roundCalibration(double value)
    Some storage systems have limited space and may alter or round the calibration value before storing it.
    void
    setCalibration(int idx, MicroCalibration calibration)
    Set calibration data for the specified pump index.
  • Method Details

    • getCalibration

      MicroCalibration getCalibration(int idx)
      Get calibration data for the specified pump index.
      Parameters:
      idx - index of the pump
    • setCalibration

      void setCalibration(int idx, MicroCalibration calibration)
      Set calibration data for the specified pump index.
      Parameters:
      idx - index of the pump
      calibration - the calibration data to set
    • roundCalibration

      double roundCalibration(double value)
      Some storage systems have limited space and may alter or round the calibration value before storing it. Given a calibration value, this method returns the rounded value that would be stored.
      Parameters:
      value - the calibration value to round