Class CalibrationProcess

java.lang.Object
difar.calibration.CalibrationProcess

public class CalibrationProcess extends Object
Handle the calibration process for a single channel
Author:
Doug Gillespie
  • Constructor Details

    • CalibrationProcess

      public CalibrationProcess(DifarControl difarControl, int channel)
  • 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

      public void newRawData(RawDataUnit rawDataUnit)
    • 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

      public String getStatusString()
    • setCorrectionValue

      public boolean setCorrectionValue(Window parent, Double val)
      Set the correction value. Give user the option of refusing !
      Parameters:
      val - correction value
      Returns:
      true if user selected OK.