Enum Class EssPower.ChannelId

java.lang.Object
java.lang.Enum<EssPower.ChannelId>
io.openems.edge.ess.core.power.EssPower.ChannelId
All Implemented Interfaces:
ChannelId, Serializable, Comparable<EssPower.ChannelId>, Constable
Enclosing interface:
EssPower

public static enum EssPower.ChannelId extends Enum<EssPower.ChannelId> implements ChannelId
  • Enum Constant Details

    • SOLVE_DURATION

      public static final EssPower.ChannelId SOLVE_DURATION
      The duration needed for solving the Power.
      • Interface: PowerComponent
      • Type: Integer
      • Unit: milliseconds
      • Range: positive
    • SOLVE_STRATEGY

      public static final EssPower.ChannelId SOLVE_STRATEGY
      The eventually used solving strategy.
      • Interface: PowerComponent
      • Type: Integer
      • Unit: milliseconds
      • Range: positive
    • NOT_SOLVED

      public static final EssPower.ChannelId NOT_SOLVED
      Whether the Power problem could be solved.
      • Interface: PowerComponent
      • Type: Boolean
    • STATIC_CONSTRAINTS_FAILED

      public static final EssPower.ChannelId STATIC_CONSTRAINTS_FAILED
      Gets set, when setting static Constraints failed.
      • Interface: PowerComponent
      • Type: Boolean
  • Method Details

    • values

      public static EssPower.ChannelId[] 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 EssPower.ChannelId 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
    • doc

      public Doc doc()
      Description copied from interface: ChannelId
      Gets the Channel Doc for this ChannelId.
      Specified by:
      doc in interface ChannelId
      Returns:
      the Channel-Doc