public class OffLimitVisual extends OffLimitAlarm
| Modifier and Type | Class and Description |
|---|---|
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.
|
NightlyStatistic.Duty, NightlyStatistic.Env, NightlyStatistic.NightAbstractSql.Columns, AbstractSql.ExtractPropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
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 |
DEFMULTILIST
The fields to query from the env table.
|
private static String |
DEFMULTINAMES
How the returned columns are named.
|
private static String |
DEFMULTIWHERE
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.
|
private static Color |
GREEN |
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 static Color |
MAGENTA |
private static Color |
RED |
private Map<String,List<OffLimitVisual.Signal>> |
tellist
The list of offenders derived from either telescope.
|
private static Color |
YELLOW |
KEY_DONELIST, KEY_DONENAMES, KEY_DONEWHERE, KEY_ENVLIST, KEY_ENVNAMES, KEY_JOINTLIST, KEY_JOINTNAMES, KEY_JOINTWHERE, KEY_MULTILIST, KEY_MULTINAMES, KEY_MULTIWHERE, KEY_OBSLIST, KEY_OBSNAMES, KEY_OBSWHERE, KEY_SCILIST, KEY_SCINAMES, KEY_SCIWHERE, KEY_TELESCOPE, NULL, TELESCOPESEPARATORKEY_RISETWILIGHT, KEY_SETTWILIGHTKEY_TABLE, SQLBATCHDIR, SQLFAILDIRKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOMECONFIG, KEY_CLASS| Constructor and Description |
|---|
OffLimitVisual(Map<String,String> prop)
Constructs a new JOffLimit object that is updated at regular intervals.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addDone, addEnvironment, addJoint, addMultiple, addObs, clearStats, convertToStatistic, extractUnique, getAverageEnvOffs, getAverageTelOffs, getEnvStatistic, getEnvTimes, getMinMaxEnvOffs, getMinMaxTelOffs, getSigmaEnvOffs, getSigmaTelOffs, getSpanEnvOffs, getSpanTelOffs, getTelescopeKeys, getTelescopes, getTelescopeStatistic, getTelescopeTimes, init, telescopeDoubleMapping, telescopeVectorMapping, vectorMappingduskToDawn, duskToDawn, getDone, getDone, getDone, getEnvironment, getEnvironment, getEnvironment, getExposureTimeSum, getJoint, getJoint, getJoint, getMultiple, getMultiple, getNightCount, getObs, getObs, getObs, getRoofOpenCount, getScienceTimeSumdelete, distinct, distinct, exit, getAccess, getDefaultArchive, getDefaultFormat, getTable, insert, isEntry, release, release, replace, retrieve, retrieve, retrieve, single, singleclone, createFrom, createFrom, createFrom, createInstance, getApplet, getAsResources, getLocate, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, hasLocalURLs, initProperties, keyCreate, keyCreate, reload, setAppletaugment, augment, 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, parseObject, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdefaultBoolean, 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, stringPropertiesprivate static final Color MAGENTA
private static final Color GREEN
private static final Color YELLOW
private static final Color RED
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 DEFMULTILIST
private static final String DEFMULTINAMES
private static final String DEFMULTIWHERE
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
public List<OffLimitVisual.Signal> getEnvironmentSignals()
public List<OffLimitVisual.Signal> getTelescopeSignals(String tel)
protected boolean gather(Date now)