Package io.openems.edge.ess.offgrid.api
Enum Class OffGridSwitch.ChannelId
- All Implemented Interfaces:
ChannelId
,Serializable
,Comparable<OffGridSwitch.ChannelId>
,Constable
- Enclosing interface:
- OffGridSwitch
public static enum OffGridSwitch.ChannelId
extends Enum<OffGridSwitch.ChannelId>
implements ChannelId
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGrid Mode.Grounding-Contactor connects the inverter grounding in off-grid to neutral.Main-Contactor connects the inverter to the public grid. -
Method Summary
Modifier and TypeMethodDescriptiondoc()
Gets the Channel Doc for this ChannelId.static OffGridSwitch.ChannelId
Returns the enum constant of this class with the specified name.static OffGridSwitch.ChannelId[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MAIN_CONTACTOR
Main-Contactor connects the inverter to the public grid.- Interface:
OffGridSwitch
- Type: Boolean
- Range: 0=CONTACTOR TURNED ON, 1=CONTACTOR TURNED OFF
- Interface:
-
GROUNDING_CONTACTOR
Grounding-Contactor connects the inverter grounding in off-grid to neutral.- Interface:
OffGridSwitch
- Type: Boolean
- Range: 0=CONTACTOR TURNED ON, 1=CONTACTOR TURNED OFF
- Interface:
-
GRID_MODE
Grid Mode.- Interface:
OffGridSwitch
- Type:
GridMode
- Interface:
-
-
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
-
doc
Description copied from interface:ChannelId
Gets the Channel Doc for this ChannelId.
-