Enum Class Debounce

java.lang.Object
java.lang.Enum<Debounce>
io.openems.common.channel.Debounce
All Implemented Interfaces:
Serializable, Comparable<Debounce>, Constable

public enum Debounce extends Enum<Debounce>
  • Enum Constant Details

    • TRUE_VALUES_IN_A_ROW_TO_SET_TRUE

      public static final Debounce TRUE_VALUES_IN_A_ROW_TO_SET_TRUE
      Debounce-Setting: If the StateChannel value is continuously set to 'true' for configured times in a row, the value of the StateChannel is set to true; otherwise false.
    • FALSE_VALUES_IN_A_ROW_TO_SET_FALSE

      public static final Debounce FALSE_VALUES_IN_A_ROW_TO_SET_FALSE
      Debounce-Setting: If the StateChannel value is continuously set to 'false' for configured times in a row, the value of the StateChannel is set to false; otherwise true.
    • SAME_VALUES_IN_A_ROW_TO_CHANGE

      public static final Debounce SAME_VALUES_IN_A_ROW_TO_CHANGE
      Debounce-Setting: If the StateChannel value is continuously set to the same value for configured times in a row, the value of the StateChannel is set to that value; otherwise stays at the old value.
  • Method Details

    • values

      public static Debounce[] 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 Debounce 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