Enum Class MpptPort

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

public enum MpptPort extends Enum<MpptPort>
Defines the GoodWe MPPT with two Strings.
  • Enum Constant Details

    • MPPT_1

      public static final MpptPort MPPT_1
    • MPPT_2

      public static final MpptPort MPPT_2
    • MPPT_3

      public static final MpptPort MPPT_3
  • Field Details

  • Method Details

    • values

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