Package io.openems.edge.meter.discovergy
Enum MeterDiscovergy.ChannelId
- java.lang.Object
-
- java.lang.Enum<MeterDiscovergy.ChannelId>
-
- io.openems.edge.meter.discovergy.MeterDiscovergy.ChannelId
-
- All Implemented Interfaces:
ChannelId
,java.io.Serializable
,java.lang.Comparable<MeterDiscovergy.ChannelId>
- Enclosing class:
- MeterDiscovergy
public static enum MeterDiscovergy.ChannelId extends java.lang.Enum<MeterDiscovergy.ChannelId> implements ChannelId
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LAST_READING_TOO_OLD
RAW_ENERGY
RAW_ENERGY_OUT
RAW_ENERGY_OUT1
RAW_ENERGY_OUT2
RAW_ENERGY1
RAW_ENERGY2
RAW_POWER
RAW_POWER1
RAW_POWER2
RAW_POWER3
RAW_VOLTAGE1
RAW_VOLTAGE2
RAW_VOLTAGE3
REST_API_FAILED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Doc
doc()
Gets the Channel Doc for this ChannelId.static MeterDiscovergy.ChannelId
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MeterDiscovergy.ChannelId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RAW_POWER
public static final MeterDiscovergy.ChannelId RAW_POWER
-
RAW_POWER1
public static final MeterDiscovergy.ChannelId RAW_POWER1
-
RAW_POWER2
public static final MeterDiscovergy.ChannelId RAW_POWER2
-
RAW_POWER3
public static final MeterDiscovergy.ChannelId RAW_POWER3
-
RAW_VOLTAGE1
public static final MeterDiscovergy.ChannelId RAW_VOLTAGE1
-
RAW_VOLTAGE2
public static final MeterDiscovergy.ChannelId RAW_VOLTAGE2
-
RAW_VOLTAGE3
public static final MeterDiscovergy.ChannelId RAW_VOLTAGE3
-
RAW_ENERGY
public static final MeterDiscovergy.ChannelId RAW_ENERGY
-
RAW_ENERGY1
public static final MeterDiscovergy.ChannelId RAW_ENERGY1
-
RAW_ENERGY2
public static final MeterDiscovergy.ChannelId RAW_ENERGY2
-
RAW_ENERGY_OUT
public static final MeterDiscovergy.ChannelId RAW_ENERGY_OUT
-
RAW_ENERGY_OUT1
public static final MeterDiscovergy.ChannelId RAW_ENERGY_OUT1
-
RAW_ENERGY_OUT2
public static final MeterDiscovergy.ChannelId RAW_ENERGY_OUT2
-
REST_API_FAILED
public static final MeterDiscovergy.ChannelId REST_API_FAILED
-
LAST_READING_TOO_OLD
public static final MeterDiscovergy.ChannelId LAST_READING_TOO_OLD
-
-
Method Detail
-
values
public static MeterDiscovergy.ChannelId[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MeterDiscovergy.ChannelId c : MeterDiscovergy.ChannelId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MeterDiscovergy.ChannelId valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-