Package difar.calibration
Class CalibrationProcess
java.lang.Object
difar.calibration.CalibrationProcess
Handle the calibration process for a single channel
- Author:
- Doug Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
Get the total number of calibrations in the sequenceint
long
void
newRawData
(RawDataUnit rawDataUnit) boolean
setCorrectionValue
(Window parent, Double val) Set the correction value.void
Start a sequence of buoy angle calibrations.void
Stop a sequence of buoy angle calibrations.
-
Constructor Details
-
CalibrationProcess
-
-
Method Details
-
startBuoyCalibration
public void startBuoyCalibration()Start a sequence of buoy angle calibrations. -
stopBuoyCalibration
public void stopBuoyCalibration()Stop a sequence of buoy angle calibrations. -
getNextBuoyCalibrationTime
public long getNextBuoyCalibrationTime()- Returns:
- the nextBuoyCalibrationTime
-
getnCalibrationsToDo
public int getnCalibrationsToDo()- Returns:
- the nCalibrationsToDo
-
newRawData
-
getChannel
public int getChannel()- Returns:
- the channel number for this process.
-
getnCalibrations
public int getnCalibrations()Get the total number of calibrations in the sequence- Returns:
- the nCalibrations
-
getStatusString
-
setCorrectionValue
Set the correction value. Give user the option of refusing !- Parameters:
val
- correction value- Returns:
- true if user selected OK.
-