Class ZebraModel
java.lang.Object
org.eclipse.scanning.api.AbstractNameable
uk.ac.diamond.daq.detectors.addetector.api.ZebraModel
- All Implemented Interfaces:
IDetectorModel,IReflectedModel,INameable,ITimeoutable
-
Field Summary
Fields inherited from interface org.eclipse.scanning.api.device.models.IReflectedModel
EXCLUDED_FIELD_NAMES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoubleGet the exposure time to be used for the detector, in seconds.inthashCode()voidsetExposureTime(double exposureTime) Call to set the timetoString()Methods inherited from class org.eclipse.scanning.api.AbstractNameable
getName, setNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.scanning.api.device.models.IReflectedModel
getCommandStringMethods inherited from interface org.eclipse.scanning.api.ITimeoutable
getTimeout, setTimeout
-
Constructor Details
-
ZebraModel
public ZebraModel()
-
-
Method Details
-
getExposureTime
public double getExposureTime()Description copied from interface:IDetectorModelGet the exposure time to be used for the detector, in seconds.- Specified by:
getExposureTimein interfaceIDetectorModel- Returns:
- the exposure time in seconds. Can be zero but not negative.
-
setExposureTime
public void setExposureTime(double exposureTime) Description copied from interface:IDetectorModelCall to set the time- Specified by:
setExposureTimein interfaceIDetectorModel- Parameters:
exposureTime-
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractNameable
-
equals
- Overrides:
equalsin classAbstractNameable
-
toString
- Overrides:
toStringin classAbstractNameable
-