Enum Class ShellyPlug.ChannelId

java.lang.Object
java.lang.Enum<ShellyPlug.ChannelId>
io.openems.edge.io.shelly.shellyplug.ShellyPlug.ChannelId
All Implemented Interfaces:
ChannelId, Serializable, Comparable<ShellyPlug.ChannelId>, Constable
Enclosing interface:
ShellyPlug

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

    • DEBUG_RELAY

      public static final ShellyPlug.ChannelId DEBUG_RELAY
      Holds writes to Relay Output for debugging.
      • Interface: ShellyPlug
      • Type: Boolean
      • Range: On/Off
    • RELAY

      public static final ShellyPlug.ChannelId RELAY
      Relay Output.
      • Interface: ShellyPlug
      • Type: Boolean
      • Range: On/Off
    • SLAVE_COMMUNICATION_FAILED

      public static final ShellyPlug.ChannelId SLAVE_COMMUNICATION_FAILED
      Slave Communication Failed Fault.
      • Interface: ShellyPlug
      • Type: State
  • Method Details

    • values

      public static ShellyPlug.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 ShellyPlug.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