stella.command
Class BiasCcd
java.lang.Object
java.util.EventObject
util.rmi.RmiEvent
stella.MessageEvent
stella.CommandEvent
stella.command.SimpleCommand
stella.command.BiasCcd
- All Implemented Interfaces:
- Serializable, CcdCommand
public class BiasCcd
- extends SimpleCommand
- implements CcdCommand
Takes a bias exposure. Only if a second command line is present and giving
a fits file name the data is saved.
- See Also:
- Serialized Form
|
Constructor Summary |
BiasCcd(Object src)
Constructs a abort adapter telescope, grabbing the type from the class
name and setting the command time to the current system time. |
BiasCcd(Object src,
String type,
long time)
Constructs a new exposure abort command. |
| Methods inherited from class stella.MessageEvent |
checkType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toString |
BiasCcd
public BiasCcd(Object src)
- Constructs a abort adapter telescope, grabbing the type from the class
name and setting the command time to the current system time.
BiasCcd
public BiasCcd(Object src,
String type,
long time)
- Constructs a new exposure abort command. Per default no fits file is
set.
getExpectedAcknowledgeNumber
public int getExpectedAcknowledgeNumber()
- Returns the number of acknowledge events this command is expected to
follow. Used for test case only. If not overriden, this method will
return one.
- Overrides:
getExpectedAcknowledgeNumber in class CommandEvent
- Returns:
- Three.