public interface NumericParameterType extends ParameterType
| Modifier and Type | Method and Description |
|---|---|
void |
addAlarmRange(MatchCriteria contextMatch,
DoubleRange floatRange,
AlarmLevels level)
Adds a new, or unions with an existing range for the specified context and level
|
NumericAlarm |
createOrGetAlarm(MatchCriteria contextMatch)
Creates (if not already existing) and gets the alarm associated to the context.
|
NumericAlarm |
getDefaultAlarm() |
DataEncoding |
getEncoding()
Get the data encoding for the parameter type.
|
void |
setContextAlarmList(List<NumericContextAlarm> contextAlarmList)
Sets the contextual alarm list overriding any other contextual alarm if already set.
|
void |
setDefaultAlarm(NumericAlarm defaultAlarm) |
copy, getDependentParameters, hasAlarm, parseString, parseStringForRawValue, setEncodinggetInitialValue, getLongDescription, getName, getShortDescription, getTypeAsString, getValueType, setInitialValue, setLongDescription, setShortDescriptionvoid addAlarmRange(MatchCriteria contextMatch, DoubleRange floatRange, AlarmLevels level)
contextMatch - use null for the default contextNumericAlarm createOrGetAlarm(MatchCriteria contextMatch)
contextMatch - use null for the default contextDataEncoding getEncoding()
ParameterTypeUnsupportedOperationExceptiongetEncoding in interface ParameterTypeNumericAlarm getDefaultAlarm()
void setDefaultAlarm(NumericAlarm defaultAlarm)
void setContextAlarmList(List<NumericContextAlarm> contextAlarmList)
contextAlarmList - Copyright © 2019 Space Applications Services. All rights reserved.