Package org.omg.space.xtce
Class AlarmRangesType
- java.lang.Object
-
- org.omg.space.xtce.AlarmRangesType
-
- Direct Known Subclasses:
NumericAlarmType.ChangeAlarmRanges,NumericAlarmType.StaticAlarmRanges,TimeAlarmType.ChangePerSecondAlarmRanges,TimeAlarmType.StaticAlarmRanges
public class AlarmRangesType extends Object
Contains five ranges: Watch, Warning, Distress, Critical, and Severe each in increasing severity. Normally, only the Warning and Critical ranges are used and the color yellow is associated with Warning and the color red is associated with Critical. The ranges given are valid for numbers lower than the min and higher than the max values. These ranges should not overlap, but if they do, assume the most severe range is to be applied. All ranges are optional and it is quite allowed for there to be only one end of the range. Range values are in calibrated engineering units.Java class for AlarmRangesType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AlarmRangesType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="WatchRange" type="{http://www.omg.org/space/xtce}FloatRangeType" minOccurs="0"/> <element name="WarningRange" type="{http://www.omg.org/space/xtce}FloatRangeType" minOccurs="0"/> <element name="DistressRange" type="{http://www.omg.org/space/xtce}FloatRangeType" minOccurs="0"/> <element name="CriticalRange" type="{http://www.omg.org/space/xtce}FloatRangeType" minOccurs="0"/> <element name="SevereRange" type="{http://www.omg.org/space/xtce}FloatRangeType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected FloatRangeTypecriticalRangeprotected FloatRangeTypedistressRangeprotected FloatRangeTypesevereRangeprotected FloatRangeTypewarningRangeprotected FloatRangeTypewatchRange
-
Constructor Summary
Constructors Constructor Description AlarmRangesType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatRangeTypegetCriticalRange()Gets the value of the criticalRange property.FloatRangeTypegetDistressRange()Gets the value of the distressRange property.FloatRangeTypegetSevereRange()Gets the value of the severeRange property.FloatRangeTypegetWarningRange()Gets the value of the warningRange property.FloatRangeTypegetWatchRange()Gets the value of the watchRange property.voidsetCriticalRange(FloatRangeType value)Sets the value of the criticalRange property.voidsetDistressRange(FloatRangeType value)Sets the value of the distressRange property.voidsetSevereRange(FloatRangeType value)Sets the value of the severeRange property.voidsetWarningRange(FloatRangeType value)Sets the value of the warningRange property.voidsetWatchRange(FloatRangeType value)Sets the value of the watchRange property.
-
-
-
Field Detail
-
watchRange
protected FloatRangeType watchRange
-
warningRange
protected FloatRangeType warningRange
-
distressRange
protected FloatRangeType distressRange
-
criticalRange
protected FloatRangeType criticalRange
-
severeRange
protected FloatRangeType severeRange
-
-
Method Detail
-
getWatchRange
public FloatRangeType getWatchRange()
Gets the value of the watchRange property.- Returns:
- possible object is
FloatRangeType
-
setWatchRange
public void setWatchRange(FloatRangeType value)
Sets the value of the watchRange property.- Parameters:
value- allowed object isFloatRangeType
-
getWarningRange
public FloatRangeType getWarningRange()
Gets the value of the warningRange property.- Returns:
- possible object is
FloatRangeType
-
setWarningRange
public void setWarningRange(FloatRangeType value)
Sets the value of the warningRange property.- Parameters:
value- allowed object isFloatRangeType
-
getDistressRange
public FloatRangeType getDistressRange()
Gets the value of the distressRange property.- Returns:
- possible object is
FloatRangeType
-
setDistressRange
public void setDistressRange(FloatRangeType value)
Sets the value of the distressRange property.- Parameters:
value- allowed object isFloatRangeType
-
getCriticalRange
public FloatRangeType getCriticalRange()
Gets the value of the criticalRange property.- Returns:
- possible object is
FloatRangeType
-
setCriticalRange
public void setCriticalRange(FloatRangeType value)
Sets the value of the criticalRange property.- Parameters:
value- allowed object isFloatRangeType
-
getSevereRange
public FloatRangeType getSevereRange()
Gets the value of the severeRange property.- Returns:
- possible object is
FloatRangeType
-
setSevereRange
public void setSevereRange(FloatRangeType value)
Sets the value of the severeRange property.- Parameters:
value- allowed object isFloatRangeType
-
-