public class FloatParameterType extends FloatDataType implements ParameterType
encodingname, PATH_SEPARATOR, qualifiedName, xtceAliasSet| Constructor and Description |
|---|
FloatParameterType(FloatParameterType t)
Creates a shallow copy.
|
FloatParameterType(String name) |
| 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
|
void |
addContextAlarm(NumericContextAlarm nca) |
void |
addContextAlarms(Collection<NumericContextAlarm> ncas) |
void |
addCriticalAlarmRange(MatchCriteria contextMatch,
DoubleRange criticalRange)
Adds a new, or unions with an existing critical range for the specified context
|
void |
addDistressAlarmRange(MatchCriteria contextMatch,
DoubleRange distressRange)
Adds a new, or unions with an existing distress range for the specified context
|
void |
addSevereAlarmRange(MatchCriteria contextMatch,
DoubleRange severeRange)
Adds a new, or unions with an existing severe range for the specified context
|
void |
addWarningAlarmRange(MatchCriteria contextMatch,
DoubleRange warningRange)
Adds a new, or unions with an existing warning range for the specified context
|
void |
addWatchAlarmRange(MatchCriteria contextMatch,
DoubleRange watchRange)
Adds a new, or unions with an existing watch range for the specified context
|
NumericAlarm |
createOrGetAlarm(MatchCriteria contextMatch) |
List<NumericContextAlarm> |
getContextAlarmList() |
NumericAlarm |
getDefaultAlarm() |
Set<Parameter> |
getDependentParameters() |
NumericContextAlarm |
getNumericContextAlarm(MatchCriteria context) |
String |
getTypeAsString()
String which represents the type.
|
boolean |
hasAlarm()
Whether this ParameterType has any alarms associated
|
void |
setContextAlarmList(List<NumericContextAlarm> contextAlarmList) |
void |
setDefaultAlarm(NumericAlarm defaultAlarm) |
void |
setDefaultCriticalAlarmRange(DoubleRange criticalRange) |
void |
setDefaultDistressAlarmRange(DoubleRange distressRange) |
void |
setDefaultSevereAlarmRange(DoubleRange severeRange) |
void |
setDefaultWarningAlarmRange(DoubleRange warningRange) |
void |
setDefaultWatchAlarmRange(DoubleRange watchRange) |
String |
toString() |
getInitialValue, getSizeInBits, getValidRange, parseString, setInitialValue, setSizeInBits, setValidRangeaddAllUnits, addUnit, getEncoding, getUnitSet, parseStringForRawValue, setEncodingaddAlias, addAliases, addAncillaryData, getAlias, getAliasSet, getAncillaryData, getAncillaryDataSet, getLongDescription, getName, getName, getOpsName, getQualifiedName, getShortDescription, getSubsystemName, getSubsystemName, setAliasSet, setLongDescription, setName, setQualifiedName, setShortDescriptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEncoding, getUnitSet, parseString, parseStringForRawValuepublic FloatParameterType(String name)
public FloatParameterType(FloatParameterType t)
public void setDefaultWatchAlarmRange(DoubleRange watchRange)
public void setDefaultWarningAlarmRange(DoubleRange warningRange)
public void setDefaultDistressAlarmRange(DoubleRange distressRange)
public void setDefaultCriticalAlarmRange(DoubleRange criticalRange)
public void setDefaultSevereAlarmRange(DoubleRange severeRange)
public NumericAlarm getDefaultAlarm()
public void addAlarmRange(MatchCriteria contextMatch, DoubleRange floatRange, AlarmLevels level)
contextMatch - use null for the default contextpublic void addWatchAlarmRange(MatchCriteria contextMatch, DoubleRange watchRange)
contextMatch - use null for the default contextpublic void addWarningAlarmRange(MatchCriteria contextMatch, DoubleRange warningRange)
contextMatch - use null for the default contextpublic void addDistressAlarmRange(MatchCriteria contextMatch, DoubleRange distressRange)
contextMatch - use null for the default contextpublic void addCriticalAlarmRange(MatchCriteria contextMatch, DoubleRange criticalRange)
contextMatch - use null for the default contextpublic void addSevereAlarmRange(MatchCriteria contextMatch, DoubleRange severeRange)
contextMatch - use null for the default contextpublic void addContextAlarm(NumericContextAlarm nca)
public void addContextAlarms(Collection<NumericContextAlarm> ncas)
public boolean hasAlarm()
ParameterTypehasAlarm in interface ParameterTypepublic Set<Parameter> getDependentParameters()
getDependentParameters in interface ParameterTypepublic NumericContextAlarm getNumericContextAlarm(MatchCriteria context)
public void setContextAlarmList(List<NumericContextAlarm> contextAlarmList)
public List<NumericContextAlarm> getContextAlarmList()
public void setDefaultAlarm(NumericAlarm defaultAlarm)
public NumericAlarm createOrGetAlarm(MatchCriteria contextMatch)
public String getTypeAsString()
ParameterTypegetTypeAsString in interface ParameterTypeCopyright © 2018 Space Applications Services. All rights reserved.