public class DitherTelescope extends CommandEvent implements TelescopeCommand
CommandEvent.Create| Modifier and Type | Field and Description |
|---|---|
private double |
deoffset
The offset in altitude, in degrees.
|
private double |
raoffset
The offset in azimuth, in degrees.
|
COMMANDPACKAGE, JVIEWPACKAGE, TYPESEPARATORSEPCHARlocalHost, sourceNamesource| Constructor and Description |
|---|
DitherTelescope(Object src)
Constructs a abort adapter telescope, grabbing the type from the class
name and setting the command time to the current system time.
|
DitherTelescope(Object src,
String id,
long time)
Constructs a new offset telescope command.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getLine()
Returns the command line of the move telescope command.
|
double |
getOffsetDe()
Returns the y-offset of the target star.
|
double |
getOffsetRa()
Returns the x-offset of the target star.
|
boolean |
parseLine(String[] all)
Parse the command line into ra and dec of the move command.
|
void |
setOffset(double xoff,
double yoff)
Sets the offsets in azimuth and height.
|
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 double raoffset
private double deoffset
public DitherTelescope(Object src)
public DitherTelescope(Object src, String id, long time)
parseLine(java.lang.String[]) or the setOffset(double, double) method are
called.public String[] getLine()
getLine in class MessageEventpublic boolean parseLine(String[] all)
parseLine in class MessageEventpublic void setOffset(double xoff,
double yoff)
xoff - Offset in azimuth, degrees.yoff - Offset in altitude, degrees.public double getOffsetRa()
public double getOffsetDe()