stella.ccd
Class WifsipMaster.CcdWatch
java.lang.Object
java.util.TimerTask
stella.ccd.WifsipMaster.CcdWatch
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- WifsipMaster
private class WifsipMaster.CcdWatch
- extends TimerTask
This class reads from the CCD the current values of temperature and
pressure and compares them to set values. If out of bounds, an error
is sent back. If exposure is underway, values are not queried.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ccd
private CcdDriver ccd
minkeys
private List<String> minkeys
maxkeys
private List<String> maxkeys
minvals
private List<Double> minvals
maxvals
private List<Double> maxvals
ready
private boolean ready
error
private Date error
WifsipMaster.CcdWatch
private WifsipMaster.CcdWatch(CcdDriver cam,
List<String> mink,
List<Double> minv,
List<String> maxk,
List<Double> maxv)
readKeys
private List<Double> readKeys(Map<String,Object> info,
List<String> k)
- Tries to read these keys from the ccd-info and parses the result
to doubles. If a single key is missing or the value cannot be
parsed, we return null to inidcate failure. If the keys are null,
we also return null.
run
public void run()
- Specified by:
run in interface Runnable- Specified by:
run in class TimerTask