public class AlarmParameters
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static java.awt.Color[] |
alarmColours |
static int |
COUNT_LEVELS |
static int |
COUNT_SCORES |
static int |
COUNT_SIMPLE |
static int |
COUNT_SINGLES |
long |
countIntervalMillis |
int |
countType |
java.lang.String |
dataSourceName |
static java.lang.String[] |
levelNames |
long |
minAlarmIntervalMillis |
static long |
serialVersionUID |
Constructor and Description |
---|
AlarmParameters() |
Modifier and Type | Method and Description |
---|---|
boolean[] |
getEnabledActions() |
int |
getHoldSeconds()
Number of seconds to hold data for before deleting
|
double |
getTriggerCount(int countLevel) |
static java.lang.String |
sayLevel(int level) |
void |
setEnabledActions(boolean[] enabledActions) |
void |
setHoldSeconds(int holdSeconds)
Number of seconds to hold data for before deleting
|
void |
setTriggerCount(int countLevel,
double value) |
public static final long serialVersionUID
public static final int COUNT_SIMPLE
public static final int COUNT_SCORES
public static final int COUNT_SINGLES
public static final int COUNT_LEVELS
public static final java.lang.String[] levelNames
public static final java.awt.Color[] alarmColours
public java.lang.String dataSourceName
public int countType
public long countIntervalMillis
public long minAlarmIntervalMillis
public double getTriggerCount(int countLevel)
public void setTriggerCount(int countLevel, double value)
public static java.lang.String sayLevel(int level)
public boolean[] getEnabledActions()
public void setEnabledActions(boolean[] enabledActions)
public int getHoldSeconds()
public void setHoldSeconds(int holdSeconds)
holdSeconds
- the holdSeconds to set