Class 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>
     
    • Constructor Detail

      • AlarmRangesType

        public AlarmRangesType()
    • 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 is FloatRangeType
      • 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 is FloatRangeType
      • 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 is FloatRangeType
      • 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 is FloatRangeType
      • 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 is FloatRangeType