|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.PropertyContainer
util.PropertyResources
util.PropertyBundles
mysql.AbstractSql
stella.sql.NightlyStatistic
stella.sql.OffLimitAlarm
stella.sql.OffLimitVisual
public class OffLimitVisual
Uses an offset alert statistic to provide a one-look health display of the two telescopes plus environment conditions.
| Nested Class Summary | |
|---|---|
static class |
OffLimitVisual.Flavor
|
static class |
OffLimitVisual.Signal
A container class to hold all information of nightly statistics that are derived from the database and evaluated to fulfill certain limits. |
| Nested classes/interfaces inherited from class stella.sql.NightlyStatistic |
|---|
NightlyStatistic.Duty, NightlyStatistic.Env, NightlyStatistic.Night |
| Nested classes/interfaces inherited from class util.PropertyResources |
|---|
PropertyResources.URLResource |
| Field Summary | |
|---|---|
private static String |
DEFDONELIST
The fields to query from the env table. |
private static String |
DEFDONENAMES
How the returned columns are named. |
private static String |
DEFDONEWHERE
Additional constraints for the done table query. |
private static String |
DEFENVLIST
Properties for the offlimit display. |
private static String |
DEFENVNAMES
Properties for the offlimit display. |
private static String |
DEFJOINTLIST
The fields to query from the env table. |
private static String |
DEFJOINTNAMES
How the returned columns are named. |
private static String |
DEFJOINTWHERE
Additional constraints for the joint table query. |
private static String |
DEFOBSLIST
Properties for the offlimit display. |
private static String |
DEFOBSNAMES
Properties for the offlimit display. |
private static String |
DEFREDAVENV
The list of column names to value-pairs denoting average alerts. |
private static String |
DEFREDAVTEL
Column names to value-pairs denoting average alerts, per telescope. |
private static String |
DEFREDMINMAXENV
The list of column names to value-pairs denoting minmax alerts. |
private static String |
DEFREDMINMAXTEL
The list of column names to value-pairs denoting min/max limits. |
private static String |
DEFREDSIGMAENV
The list of column names to value denoting sigma alerts. |
private static String |
DEFSCILIST
Properties for the offlimit display. |
private static String |
DEFSCINAMES
Properties for the offlimit display. |
private static String |
DEFSCIWHERE
Properties for the offlimit display. |
private static String |
DEFTELESCOPE
The telescope query. |
private static String |
DEFYELLOWAVENV
The list of column names to value-pairs denoting average warnings. |
private static String |
DEFYELLOWAVTEL
Column names to value-pairs denoting average alerts, per telescope. |
private static String |
DEFYELLOWMINMAXENV
The list of column names to value-pairs denoting minmax warmnings. |
private static String |
DEFYELLOWMINMAXTEL
The list of column names to value-pairs denoting min/max limits. |
private static String |
DEFYELLOWSIGMAENV
The list of column names to value denoting sigma warnings. |
private List<OffLimitVisual.Signal> |
envlist
The list of all offenders derived from the environment. |
static String |
KEY_REDAVENV
The values above which we have a 'red' condition. |
static String |
KEY_REDAVTEL
The values above which we have a 'red' condition. |
static String |
KEY_REDMINMAXENV
The values above which we have a 'red' condition. |
static String |
KEY_REDMINMAXTEL
The values above which we have a 'red' condition. |
static String |
KEY_REDSIGMAENV
The values above which we have a 'red' condition. |
static String |
KEY_YELLOWAVENV
The values above which we have a 'yellow' condition. |
static String |
KEY_YELLOWAVTEL
The values above which we have a 'yellow' condition. |
static String |
KEY_YELLOWMINMAXENV
The values above which we have a 'yellow' condition. |
static String |
KEY_YELLOWMINMAXTEL
The values above which we have a 'yellow' condition. |
static String |
KEY_YELLOWSIGMAENV
The values above which we have a 'yellow' condition. |
private Map<String,List<OffLimitVisual.Signal>> |
tellist
The list of offenders derived from either telescope. |
| Fields inherited from class stella.sql.OffLimitAlarm |
|---|
KEY_DONELIST, KEY_DONENAMES, KEY_DONEWHERE, KEY_ENVLIST, KEY_ENVNAMES, KEY_JOINTLIST, KEY_JOINTNAMES, KEY_JOINTWHERE, KEY_OBSLIST, KEY_OBSNAMES, KEY_OBSWHERE, KEY_SCILIST, KEY_SCINAMES, KEY_SCIWHERE, KEY_TELESCOPE, NULL, TELESCOPESEPARATOR |
| Fields inherited from class stella.sql.NightlyStatistic |
|---|
DEFPASSWORD, DEFUSERNAME, KEY_RISETWILIGHT, KEY_SETTWILIGHT |
| Fields inherited from class mysql.AbstractSql |
|---|
KEY_TABLE |
| Fields inherited from class util.PropertyBundles |
|---|
KEY_LOCALECOUNTRY, KEY_LOCALELANGUAGE, KEY_RESOURCEBUNDLES |
| Fields inherited from class util.PropertyResources |
|---|
KEY_NOINITONCREATE, localurl, locate, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_URL, urlset |
| Fields inherited from class util.PropertyContainer |
|---|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATOR |
| Fields inherited from interface util.ResourceSupplying |
|---|
KEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME |
| Fields inherited from interface util.PropertySupplying |
|---|
CONFIG, KEY_CLASS |
| Constructor Summary | |
|---|---|
OffLimitVisual(Map<String,String> prop)
Constructs a new JOffLimit object that is updated at regular intervals. |
|
| Method Summary | |
|---|---|
protected boolean |
gather(Date now)
Gathers the db-data. |
List<OffLimitVisual.Signal> |
getEnvironmentSignals()
Returns the list of environment signals gathered. |
List<OffLimitVisual.Signal> |
getTelescopeSignals(String tel)
Returns the list of telescope signals for the specified telescope. |
| Methods inherited from class stella.sql.NightlyStatistic |
|---|
duskToDawn, duskToDawn, getDone, getDone, getDone, getEnvironment, getEnvironment, getEnvironment, getExposureTimeSum, getJoint, getJoint, getJoint, getNightCount, getObs, getObs, getObs, getRoofOpenCount, getScienceTimeSum |
| Methods inherited from class mysql.AbstractSql |
|---|
getPassword, getTable, getUserName, isEntry |
| Methods inherited from class util.PropertyBundles |
|---|
clone, getLocalized, getLocalized, getLocalizedString, getLocalizedString, loadResource |
| Methods inherited from class util.PropertyResources |
|---|
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
|---|
augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, reload, removeProperty, rescanned, setObject, setProperties, setProperty, stringProperties, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface util.ResourceSupplying |
|---|
getResource, getResourceAsStream, getResources |
| Methods inherited from interface util.PropertySupplying |
|---|
defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringProperties |
| Field Detail |
|---|
public static final String KEY_REDAVENV
public static final String KEY_YELLOWAVENV
public static final String KEY_REDMINMAXENV
public static final String KEY_YELLOWMINMAXENV
public static final String KEY_REDSIGMAENV
public static final String KEY_YELLOWSIGMAENV
public static final String KEY_REDAVTEL
public static final String KEY_YELLOWAVTEL
public static final String KEY_REDMINMAXTEL
public static final String KEY_YELLOWMINMAXTEL
private static final String DEFENVLIST
private static final String DEFENVNAMES
private static final String DEFOBSLIST
private static final String DEFOBSNAMES
private static final String DEFSCILIST
private static final String DEFSCINAMES
private static final String DEFSCIWHERE
private static final String DEFDONELIST
private static final String DEFDONENAMES
private static final String DEFDONEWHERE
private static final String DEFJOINTLIST
private static final String DEFJOINTNAMES
private static final String DEFJOINTWHERE
private static final String DEFTELESCOPE
private static final String DEFREDAVENV
private static final String DEFYELLOWAVENV
private static final String DEFREDMINMAXENV
private static final String DEFYELLOWMINMAXENV
private static final String DEFREDSIGMAENV
private static final String DEFYELLOWSIGMAENV
private static final String DEFREDAVTEL
private static final String DEFYELLOWAVTEL
private static final String DEFREDMINMAXTEL
private static final String DEFYELLOWMINMAXTEL
private List<OffLimitVisual.Signal> envlist
private Map<String,List<OffLimitVisual.Signal>> tellist
| Constructor Detail |
|---|
public OffLimitVisual(Map<String,String> prop)
| Method Detail |
|---|
public List<OffLimitVisual.Signal> getEnvironmentSignals()
public List<OffLimitVisual.Signal> getTelescopeSignals(String tel)
protected boolean gather(Date now)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||