java.lang.Object
java.lang.Enum<AlarmMode>
com.inductiveautomation.ignition.common.alarming.config.AlarmMode
All Implemented Interfaces:
Serializable, Comparable<AlarmMode>, Constable

public enum AlarmMode extends Enum<AlarmMode>
These are the defined types of alarm conditions.
  • Enum Constant Details

    • Equality

      public static final AlarmMode Equality
    • Inequality

      public static final AlarmMode Inequality
    • AboveValue

      public static final AlarmMode AboveValue
    • BelowValue

      public static final AlarmMode BelowValue
    • BetweenValues

      public static final AlarmMode BetweenValues
      Active when the value is inside of the defined range.
    • OutsideValues

      public static final AlarmMode OutsideValues
      The opposite of "BetweenValues". Active when the value is outside the given range.
    • OutOfEngRange

      public static final AlarmMode OutOfEngRange
      Very similar to "OutsideValues", but the setpoints are taken from the tag's eng. limits.
    • BadQuality

      public static final AlarmMode BadQuality
    • AnyChange

      public static final AlarmMode AnyChange
    • Bit

      public static final AlarmMode Bit
    • OnCondition

      public static final AlarmMode OnCondition
      This mode is active whenever the "ActiveCondition" value is true. Since the condition can be an expression, this allows the user to define their own logic. The important point is that this condition does not depend on the value passed to the condition.
  • Method Details

    • values

      public static AlarmMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AlarmMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getProperties

      public Collection<AlarmProperty<?>> getProperties()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<AlarmMode>