Package alarm
Class AlarmParameters
java.lang.Object
alarm.AlarmParameters
- All Implemented Interfaces:
 Serializable,Cloneable,ManagedParameters
- See Also:
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected AlarmParametersclone()boolean[]intNumber of seconds to hold data for before deletingGet a set of data that describes all of the parameters in a classdoublegetTriggerCount(int countLevel) static StringsayLevel(int level) voidsetEnabledActions(boolean[] enabledActions) voidsetHoldSeconds(int holdSeconds) Number of seconds to hold data for before deletingvoidsetTriggerCount(int countLevel, double value)  
- 
Field Details
- 
serialVersionUID
public static final long serialVersionUID- See Also:
 
 - 
COUNT_SIMPLE
public static final int COUNT_SIMPLE- See Also:
 
 - 
COUNT_SCORES
public static final int COUNT_SCORES- See Also:
 
 - 
COUNT_SINGLES
public static final int COUNT_SINGLES- See Also:
 
 - 
COUNT_LEVELS
public static final int COUNT_LEVELS- See Also:
 
 - 
levelNames
 - 
alarmColours
 - 
dataSourceName
 - 
countType
public int countType - 
countIntervalMillis
public long countIntervalMillis - 
minAlarmIntervalMillis
public long minAlarmIntervalMillis 
 - 
 - 
Constructor Details
- 
AlarmParameters
public AlarmParameters() 
 - 
 - 
Method Details
- 
clone
 - 
getTriggerCount
public double getTriggerCount(int countLevel)  - 
setTriggerCount
public void setTriggerCount(int countLevel, double value)  - 
sayLevel
 - 
getEnabledActions
public boolean[] getEnabledActions() - 
setEnabledActions
public void setEnabledActions(boolean[] enabledActions)  - 
getHoldSeconds
public int getHoldSeconds()Number of seconds to hold data for before deleting- Returns:
 - the holdSeconds
 
 - 
setHoldSeconds
public void setHoldSeconds(int holdSeconds) Number of seconds to hold data for before deleting- Parameters:
 holdSeconds- the holdSeconds to set
 - 
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
 getParameterSetin interfaceManagedParameters- Returns:
 - description of the parameters in a class.
 
 
 -