public class RoofPosition extends ErrorEvent
| Modifier and Type | Field and Description |
|---|---|
private static String |
FOLLOWUP
The follow-up (none).
|
static String |
LEADINFO
The starting string for roof-info status events.
|
private static boolean |
PIPING
The pipe flag (false).
|
private int |
roofnumber
The roof number that has a state change.
|
private String |
roofstate
The value of the new roof state.
|
private static int |
SEVERENESS
The severness level (interesting importance).
|
ABORT_EXPOSURE, ABORT_TARGET, ALARM_OFF, ALARM_ON, BAD_SEEING, BAD_WEATHER, CLEAR_TEL, CLOSE_COVER, CLOSE_ROOF, CLOSE_SHUTTER, CONT_TIME, ERROR_TOKEN, ERRORCOMBINE, ERRORPACKAGE, GOOD_WEATHER, HIGH_WIND, MAIL_HOME, MAIL_LOCAL, MOVE_HOME, MOVE_PARK, NONE, OPEN_COVER, OPEN_SHUTTER, PIPE, REACQUIRE, REPOSITION, RESEND_COMMAND, RESET_ADAPTER, RESET_CALIBRATION, RESET_CCD, RESET_ENV, RESET_ERRORS, RESET_SPEC, RESET_TEL, SHUT_DOWN, STATUS_TOKEN, STOP_TIMESEPCHARlocalHost, sourceNamesource| Constructor and Description |
|---|
RoofPosition(Object src,
int nr,
String read)
Constructs a new roof position status message specifying the roof number
and the new roof state.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getRoofNumber()
Returns the value of the fwhm.
|
String |
getRoofState()
Returns the value of the flux.
|
protected void |
setRoofNumber(int nr)
Sets the roof number.
|
protected void |
setRoofState(String cache)
Sets the roof state.
|
private void |
updateHuman()
Updates the human readable part of the status message.
|
consume, createError, createError, createError, createError, createError, createStatus, createStatus, createStatus, extractClassName, extractFollowUp, extractPipe, getErrorClass, getFollowUp, getHuman, getLine, getSevereness, isConsumed, isPipe, isStatus, parseClassName, parseHeader, parseLine, setFollowUp, setHuman, setHuman, setPipecheckType, equals, equalTime, equalTime, fromAscii, getAllCommandLines, getExecuteGroupKey, getHead, getNr, getTime, getType, hashCode, isValid, parseFromSingleString, readFromBufferedStream, setNr, setTime, setType, setValid, toSkippedString, toStringgetHost, getSourceName, setSourceNamegetSourcepublic static final String LEADINFO
private static final int SEVERENESS
private static final String FOLLOWUP
private static final boolean PIPING
private int roofnumber
private String roofstate
private void updateHuman()
ErrorEvent.setHuman(java.lang.String) with values constructed from the internal
variables.public int getRoofNumber()
public String getRoofState()
protected void setRoofNumber(int nr)
protected void setRoofState(String cache)