Interface DetectorTemperature

All Known Implementing Classes:
XhDetectorTemperature

public interface DetectorTemperature
  • Method Details

    • getTemperatures

      HashMap<String,Double> getTemperatures() throws DeviceException
      Throws:
      DeviceException
    • fetchTemperatureData

      org.eclipse.january.dataset.IDataset[][] fetchTemperatureData() throws DeviceException
      Fetches the logged temperatures since the last time startTemperatureLogging called.

      time is in epoch seconds.

      Returns:
      an array of Datasets: time, temp for sensor1, temp for sensor 2 etc.
      Throws:
      DeviceException
    • startTemperatureLogging

      void startTemperatureLogging() throws DeviceException
      Throws:
      DeviceException
    • stopTemperatureLogging

      void stopTemperatureLogging() throws DeviceException
      Throws:
      DeviceException
    • getTemperatureLogFile

      String getTemperatureLogFile()
      This will be a file of format LocalProperties.getVarDir() + getName() + "_temperatures_" + today's date + ".log";
      Returns:
      String - full path to the current fiel being written to.