Interface MicroCalibrationStorageMgr

All Superinterfaces:
com.tccc.kos.commons.util.ready.Ready

public interface MicroCalibrationStorageMgr extends com.tccc.kos.commons.util.ready.Ready
Interface for allocating storage for micro pump calibration data.
Version:
2024-10-09
  • Method Summary

    Modifier and Type
    Method
    Description
    createStorage(String path, int pumps)
    Create new storage for the specified handle path with space to store the specified number of calibration entries.
    void
    Delete storage for the specified handle path.
    Return storage for the specified handle path.

    Methods inherited from interface com.tccc.kos.commons.util.ready.Ready

    getReady, isReady, setReady
  • Method Details

    • getStorage

      MicroCalibrationStorage getStorage(String path)
      Return storage for the specified handle path. Return null if no existing storage exists. If called for the same path, return the same storage.
      Parameters:
      path - the path of the board the pumps are associated with
    • createStorage

      MicroCalibrationStorage createStorage(String path, int pumps)
      Create new storage for the specified handle path with space to store the specified number of calibration entries.
      Parameters:
      path - the path of the board the pumps are associated with
      pumps - the total number of micro pumps on the board
    • deleteStorage

      void deleteStorage(String path)
      Delete storage for the specified handle path.
      Parameters:
      path - delete storage with this path