Package io.openems.common.channel
Enum Class Debounce
- All Implemented Interfaces:
Serializable
,Comparable<Debounce>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDebounce-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.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.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. -
Method Summary
-
Enum Constant Details
-
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
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
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
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
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 nameNullPointerException
- if the argument is null
-