Class MicroCalibration
java.lang.Object
com.tccc.kos.ext.freestyle.service.micro.calibration.MicroCalibration
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 object 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoubleinthashCode()booleanReturn true if the data represents calibrated data.booleanReturn true if the data was written without access to storage.booleanvoidsetCalibrated(boolean calibrated) Set the calibrated flag.voidsetNoStorage(boolean noStorage) Set the no storage flag.voidsetRunning(double running) voidsetTemporary(boolean temporary) toString()
-
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. -
isTemporary
public boolean isTemporary() -
setTemporary
public void setTemporary(boolean temporary) -
getRunning
public double getRunning() -
setRunning
public void setRunning(double running) -
equals
-
hashCode
public int hashCode() -
toString
-