Enum Class PvPort

java.lang.Object
java.lang.Enum<PvPort>
io.openems.edge.goodwe.charger.twostring.PvPort
All Implemented Interfaces:
Serializable, Comparable<PvPort>, Constable

public enum PvPort extends Enum<PvPort>
Defines the PV-Port of a GoodWe Charger Two-String.
  • Enum Constant Details

    • PV_1

      public static final PvPort PV_1
    • PV_2

      public static final PvPort PV_2
    • PV_3

      public static final PvPort PV_3
    • PV_4

      public static final PvPort PV_4
    • PV_5

      public static final PvPort PV_5
    • PV_6

      public static final PvPort PV_6
  • Field Details

  • Method Details

    • values

      public static PvPort[] 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 PvPort 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