public class RandomOffsetTelescope extends InitialOffsetTelescope
CommandEvent.CreateCOMMANDPACKAGE, JVIEWPACKAGE, TYPESEPARATORSEPCHARlocalHost, sourceNamesource| Constructor and Description |
|---|
RandomOffsetTelescope(Object src)
Constructs a abort adapter telescope, grabbing the type from the class
name and setting the command time to the current system time.
|
RandomOffsetTelescope(Object src,
String id,
long time)
Constructs a new offset telescope command.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initWith(String focus)
If initialized with a parsable double, this gets the focus offset.
|
void |
setOffset(double az0,
double alt0,
double azmax,
double altmax)
Randomizes the offset between +/- the stated values.
|
registerParametergetAzimuth, getHeight, getLine, parseLine, setAzimuth, setHeightgetOffsetAltitude, getOffsetAzimuth, setOffsetclassNameToTemplate, 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 RandomOffsetTelescope(Object src)
public RandomOffsetTelescope(Object src, String id, long time)
OnSkyOffsetTelescope.parseLine(java.lang.String[]) or the setOffset(double, double, double, double)
method are called.public void initWith(String focus)
initWith in interface InitializerDependinginitWith in class InitialOffsetTelescopepublic void setOffset(double az0,
double alt0,
double azmax,
double altmax)