Class IVNumeric

java.lang.Object
org.yamcs.studio.data.vtype.IVMetadata
org.yamcs.studio.data.vtype.IVNumeric
All Implemented Interfaces:
Alarm, Display, Time
Direct Known Subclasses:
IVByte, IVDouble, IVFloat, IVInt, IVMultiDouble, IVNumberArray, IVShort, IVStatistics

public class IVNumeric extends IVMetadata implements Display
Partial implementation for numeric types.
  • Method Details

    • getLowerDisplayLimit

      public Double getLowerDisplayLimit()
      Description copied from interface: Display
      Lowest possible value to be displayed. Never null.
      Specified by:
      getLowerDisplayLimit in interface Display
    • getLowerCtrlLimit

      public Double getLowerCtrlLimit()
      Description copied from interface: Display
      Lowest possible value (included). Never null.
      Specified by:
      getLowerCtrlLimit in interface Display
    • getLowerAlarmLimit

      public Double getLowerAlarmLimit()
      Description copied from interface: Display
      Lowest value before the alarm region. Never null.
      Specified by:
      getLowerAlarmLimit in interface Display
    • getLowerWarningLimit

      public Double getLowerWarningLimit()
      Description copied from interface: Display
      Lowest value before the warning region. Never null.
      Specified by:
      getLowerWarningLimit in interface Display
    • getUnits

      public String getUnits()
      Description copied from interface: Display
      String representation of the units using for all values. Never null. If not available, returns the empty String.
      Specified by:
      getUnits in interface Display
    • getFormat

      public NumberFormat getFormat()
      Description copied from interface: Display
      Returns a NumberFormat that creates a String with just the value (no units). Format is locale independent and should be used for all values (values and lower/upper limits). Never null.
      Specified by:
      getFormat in interface Display
      Returns:
      the default format for all values
    • getUpperWarningLimit

      public Double getUpperWarningLimit()
      Description copied from interface: Display
      Highest value before the warning region. Never null.
      Specified by:
      getUpperWarningLimit in interface Display
    • getUpperAlarmLimit

      public Double getUpperAlarmLimit()
      Description copied from interface: Display
      Highest value before the alarm region. Never null.
      Specified by:
      getUpperAlarmLimit in interface Display
    • getUpperCtrlLimit

      public Double getUpperCtrlLimit()
      Description copied from interface: Display
      Highest possible value (included). Never null.
      Specified by:
      getUpperCtrlLimit in interface Display
    • getUpperDisplayLimit

      public Double getUpperDisplayLimit()
      Description copied from interface: Display
      Highest possible value to be displayed. Never null.
      Specified by:
      getUpperDisplayLimit in interface Display