Package alarm
Class AlarmParameters
java.lang.Object
alarm.AlarmParameters
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean[]
int
Number of seconds to hold data for before deletingGet a set of data that describes all of the parameters in a classdouble
getTriggerCount
(int countLevel) static String
sayLevel
(int level) void
setEnabledActions
(boolean[] enabledActions) void
setHoldSeconds
(int holdSeconds) Number of seconds to hold data for before deletingvoid
setTriggerCount
(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
-
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:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-