public class ExposeAuxiliary extends CommandEvent implements AuxiliaryCommand, TargetDependingCommand, InitializerDepending
stella.error.AuxiliaryFwhm status prior to
sending the final done.CommandEvent.Create| Modifier and Type | Field and Description |
|---|---|
private int |
count
The current count.
|
private double |
exposuretime
The desired exposure time in seconds.
|
private static long |
serialVersionUID |
COMMANDPACKAGE, JVIEWPACKAGE, TYPESEPARATORSEPCHARlocalHost, sourceNamesource| Constructor and Description |
|---|
ExposeAuxiliary(Object src)
Constructs a abort adapter telescope, grabbing the type from the class
name and setting the command time to the current system time.
|
ExposeAuxiliary(Object src,
String type,
long time)
Constructs a move telescope command.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Returns the required count number.
|
double |
getExposureTime()
Returns the required exposure time, given in seconds.
|
String[] |
getLine()
Returns the command line of the move telescope command.
|
void |
initWith(String init)
Registers an parameter set to this command.
|
boolean |
parseLine(String[] all)
Parse the command line into exposure time and count number.
|
void |
registerTargetProperties(Object setup)
Calculates the command line from the mapping delivered in the
DTDConstants.SETUP DOM-element. |
void |
setExposureTime(double time)
Sets the exposure time.
|
classNameToTemplate, createCommand, createCommand, createJCommand, extractType, getExpectedAcknowledgeNumber, parseForStrings, templateToClassNamecheckType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toSkippedString, toStringgetHost, getSourceName, setSourceNamegetSourceprivate static final long serialVersionUID
private double exposuretime
private int count
public ExposeAuxiliary(Object src)
public ExposeAuxiliary(Object src, String type, long time)
DTDConstants.SETUP
element has been registered to
this command.MessageEvent.isValid()public void initWith(String init)
initWith in interface InitializerDependingpublic void registerTargetProperties(Object setup)
DTDConstants.SETUP DOM-element. It uses the
ReservedConstants.EXPOSURETIME element within the map to derive
the exposure time for the target.registerTargetProperties in interface TargetDependingCommandpublic String[] getLine()
getLine in class MessageEventpublic boolean parseLine(String[] all)
parseLine in class MessageEventpublic double getExposureTime()
public int getCount()
public void setExposureTime(double time)
time - The exposure time in seconds.