Package io.openems.edge.ess.core.power
Enum Class EssPower.ChannelId
- All Implemented Interfaces:
ChannelId
,Serializable
,Comparable<EssPower.ChannelId>
,Constable
- Enclosing interface:
EssPower
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface io.openems.edge.common.channel.ChannelId
ChannelId.ChannelIdImpl
-
Enum Constant Summary
Enum ConstantDescriptionWhether the Power problem could be solved.The duration needed for solving the Power.The eventually used solving strategy.Gets set, when setting static Constraints failed. -
Method Summary
Modifier and TypeMethodDescriptiondoc()
Gets the Channel Doc for this ChannelId.static EssPower.ChannelId
Returns the enum constant of this class with the specified name.static EssPower.ChannelId[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SOLVE_DURATION
The duration needed for solving the Power.- Interface: PowerComponent
- Type: Integer
- Unit: milliseconds
- Range: positive
-
SOLVE_STRATEGY
The eventually used solving strategy.- Interface: PowerComponent
- Type: Integer
- Unit: milliseconds
- Range: positive
-
NOT_SOLVED
Whether the Power problem could be solved.- Interface: PowerComponent
- Type: Boolean
-
STATIC_CONSTRAINTS_FAILED
Gets set, when setting static Constraints failed.- Interface: PowerComponent
- Type: Boolean
-
-
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.
-