Enum Class DefaultSunSpecModel.S702_CtrlModes
java.lang.Object
java.lang.Enum<DefaultSunSpecModel.S702_CtrlModes>
io.openems.edge.bridge.modbus.sunspec.DefaultSunSpecModel.S702_CtrlModes
- All Implemented Interfaces:
OptionsEnum
,Serializable
,Comparable<DefaultSunSpecModel.S702_CtrlModes>
,Constable
- Enclosing class:
- DefaultSunSpecModel
public static enum DefaultSunSpecModel.S702_CtrlModes
extends Enum<DefaultSunSpecModel.S702_CtrlModes>
implements OptionsEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets this enums String representation.Gets the enum that is used for 'UNDEFINED' values.int
getValue()
Gets this enums int representation.Returns the enum constant of this class with the specified name.static DefaultSunSpecModel.S702_CtrlModes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface io.openems.common.types.OptionsEnum
asCamelCase, isUndefined
-
Enum Constant Details
-
UNDEFINED
-
MAX_W
-
FIXED_W
-
FIXED_VAR
-
FIXED_PF
-
VOLT_VAR
-
FREQ_WATT
-
DYN_REACT_CURR
-
LV_TRIP
-
HV_TRIP
-
WATT_VAR
-
VOLT_WATT
-
SCHEDULED
-
LF_TRIP
-
HF_TRIP
-
-
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
-
getValue
public int getValue()Description copied from interface:OptionsEnum
Gets this enums int representation.- Specified by:
getValue
in interfaceOptionsEnum
- Returns:
- the int representation
-
getName
Description copied from interface:OptionsEnum
Gets this enums String representation.- Specified by:
getName
in interfaceOptionsEnum
- Returns:
- the String representation
-
getUndefined
Description copied from interface:OptionsEnum
Gets the enum that is used for 'UNDEFINED' values.- Specified by:
getUndefined
in interfaceOptionsEnum
- Returns:
- the UNDEFINED enum
-