public class FloatParameterType extends FloatDataType implements NumericParameterType
encoding, initialValuename, 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
|
ParameterType |
copy()
Create a shallow copy of the parameter type
- the object itself (and the primitive fields) are new
but the other fields reference to the same object like the original
|
NumericAlarm |
createOrGetAlarm(MatchCriteria contextMatch)
Creates (if not already existing) and gets the alarm associated to the context.
|
List<NumericContextAlarm> |
getContextAlarmList() |
NumericAlarm |
getDefaultAlarm() |
Set<Parameter> |
getDependentParameters() |
NumericContextAlarm |
getNumericContextAlarm(MatchCriteria context) |
boolean |
hasAlarm()
Whether this ParameterType has any alarms associated
|
void |
setContextAlarmList(List<NumericContextAlarm> contextAlarmList)
Sets the contextual alarm list overriding any other contextual alarm if already set.
|
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, getTypeAsString, getValidRange, getValueType, parseString, setInitialValue, setSizeInBits, setValidRangeaddAllUnits, addUnit, getEncoding, getUnitSet, parseStringForRawValue, setEncoding, setInitialValueaddAlias, 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, waitgetEncodingparseString, parseStringForRawValue, setEncodinggetInitialValue, getLongDescription, getName, getShortDescription, getTypeAsString, getValueType, setInitialValue, setLongDescription, setShortDescriptionpublic 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()
getDefaultAlarm in interface NumericParameterTypepublic void addAlarmRange(MatchCriteria contextMatch, DoubleRange floatRange, AlarmLevels level)
addAlarmRange in interface NumericParameterTypecontextMatch - 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)
NumericParameterTypesetContextAlarmList in interface NumericParameterTypepublic List<NumericContextAlarm> getContextAlarmList()
public void setDefaultAlarm(NumericAlarm defaultAlarm)
setDefaultAlarm in interface NumericParameterTypepublic NumericAlarm createOrGetAlarm(MatchCriteria contextMatch)
NumericParameterTypecreateOrGetAlarm in interface NumericParameterTypecontextMatch - use null for the default contextpublic ParameterType copy()
ParameterTypecopy in interface ParameterTypeCopyright © 2019 Space Applications Services. All rights reserved.