public abstract class FieldOfViewCommand extends CommandEvent implements TargetDependingCommand
CommandEvent.Create| Modifier and Type | Field and Description |
|---|---|
private float[] |
bv
The B-V color index.
|
private double[] |
dec
The declination of the stars, actual equinox, in degrees.
|
private float[] |
mag
The Johnson V star brightnesses, in magnitudes.
|
private double[] |
ra
The right ascension of the stars, actual equinox, in degrees.
|
private static long |
serialVersionUID |
COMMANDPACKAGE, JVIEWPACKAGE, TYPESEPARATORSEPCHARlocalHost, sourceNamesource| Modifier | Constructor and Description |
|---|---|
protected |
FieldOfViewCommand(Object src,
String type,
long time) |
| Modifier and Type | Method and Description |
|---|---|
float[] |
getBV()
Returns the color index B-V of the field-of-view stars.
|
double[] |
getDec()
Returns the declination of the field-of-view stars.
|
String[] |
getLine()
Returns the command line of the move telescope command.
|
float[] |
getMag()
Returns the V-magnitude of the field-of-view stars.
|
double[] |
getRa()
Returns the right ascension of the field-of-view stars.
|
boolean |
parseLine(String[] all)
Parse the command line into ra and dec of the move command.
|
void |
registerTargetProperties(Object view)
Calculates the command line from the properties.
|
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[] ra
private double[] dec
private float[] mag
private float[] bv
public void registerTargetProperties(Object view)
SimpleStar with an additional
key ReservedConstants.FOV. The value mapped to this key is a
list of SimpleStar objects, each representing a star in
the field of view. Note that the first entry in this list is always
the target star.registerTargetProperties in interface TargetDependingCommandpublic String[] getLine()
getLine in class MessageEventpublic boolean parseLine(String[] all)
parseLine in class MessageEventpublic double[] getRa()
public double[] getDec()
public float[] getMag()
public float[] getBV()