Package gda.device.detector
Interface DetectorTemperature
- All Known Implementing Classes:
XhDetectorTemperature
public interface DetectorTemperature
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.january.dataset.IDataset[][]Fetches the logged temperatures since the last time startTemperatureLogging called.This will be a file of format LocalProperties.getVarDir() + getName() + "_temperatures_" + today's date + ".log";voidvoid
-
Method Details
-
getTemperatures
- Throws:
DeviceException
-
fetchTemperatureData
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
- Throws:
DeviceException
-
stopTemperatureLogging
- 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.
-