java.lang.Object
com.tccc.kos.ext.freestyle.service.micro.calibration.MicroCalibration

public class MicroCalibration extends Object
Calibration data for a single micro pump. The contents of this bean is very much tied to the format of data supported by firmware. This objecet supports equality but does not include baseline data in equality checks as baseline is not necessarily stored by storage managers.
Version:
2024-10-09
  • Constructor Details

    • MicroCalibration

      public MicroCalibration()
  • Method Details

    • isCalibrated

      public boolean isCalibrated()
      Return true if the data represents calibrated data.
    • setCalibrated

      public void setCalibrated(boolean calibrated)
      Set the calibrated flag.
    • isNoStorage

      public boolean isNoStorage()
      Return true if the data was written without access to storage.
    • setNoStorage

      public void setNoStorage(boolean noStorage)
      Set the no storage flag. This is used to indicate that storage was not available when writing calibration so the cal data on the board may be newer than the storage system.
    • getRunning

      public double getRunning()
    • setRunning

      public void setRunning(double running)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object