public class FixedRotatorAdapter extends CommandEvent implements AdapterCommand, TargetDependingCommand
CommandEvent.Create| Modifier and Type | Field and Description |
|---|---|
private boolean |
fixed
True, if we guide without derotator.
|
COMMANDPACKAGE, JVIEWPACKAGE, TYPESEPARATORSEPCHARlocalHost, sourceNamesource| Constructor and Description |
|---|
FixedRotatorAdapter(Object src)
Constructs a abort adapter telescope, grabbing the type from the class
name and setting the command time to the current system time.
|
FixedRotatorAdapter(Object src,
String type,
long time)
Constructs a start guiding command.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getLine()
Returns the command line of the move telescope command.
|
boolean |
isFixed()
Returns the required filter.
|
boolean |
parseLine(String[] all)
Parse the command line into ra and dec of the move command.
|
void |
registerTargetProperties(Object setup)
Calculates the command line from the star description delivered in the
DTDConstants.SETUP DOM-element. |
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, setSourceNamegetSourcepublic FixedRotatorAdapter(Object src)
public FixedRotatorAdapter(Object src, String type, long time)
DTDConstants.SETUP
element has been registered to this command.MessageEvent.isValid()public void registerTargetProperties(Object setup)
DTDConstants.SETUP DOM-element. It uses the
ReservedConstants.GUIDINGFILTER
key within the properties to set the guiding filter.registerTargetProperties in interface TargetDependingCommandpublic String[] getLine()
getLine in class MessageEventpublic boolean parseLine(String[] all)
parseLine in class MessageEventpublic boolean isFixed()