Package io.openems.edge.meter.api
Enum SymmetricMeter.ChannelId
- java.lang.Object
-
- java.lang.Enum<SymmetricMeter.ChannelId>
-
- io.openems.edge.meter.api.SymmetricMeter.ChannelId
-
- All Implemented Interfaces:
ChannelId
,java.io.Serializable
,java.lang.Comparable<SymmetricMeter.ChannelId>
- Enclosing interface:
- SymmetricMeter
public static enum SymmetricMeter.ChannelId extends java.lang.Enum<SymmetricMeter.ChannelId> implements ChannelId
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE_CONSUMPTION_ENERGY
Active Consumption Energy.ACTIVE_POWER
Active Power.ACTIVE_PRODUCTION_ENERGY
Active Production Energy.CURRENT
Current.FREQUENCY
Frequency.MAX_ACTIVE_POWER
Maximum Ever Active Power.MIN_ACTIVE_POWER
Minimum Ever Active Power.REACTIVE_POWER
Reactive Power.VOLTAGE
Voltage.
-
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 SymmetricMeter.ChannelId
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SymmetricMeter.ChannelId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FREQUENCY
public static final SymmetricMeter.ChannelId FREQUENCY
Frequency.- Interface: Meter Symmetric
- Type: Integer
- Unit: mHz
- Range: only positive values
-
MIN_ACTIVE_POWER
public static final SymmetricMeter.ChannelId MIN_ACTIVE_POWER
Minimum Ever Active Power.- Interface: Meter Symmetric
- Type: Integer
- Unit: W
- Range: negative or '0'
- Implementation Note: value is automatically derived from ACTIVE_POWER
-
MAX_ACTIVE_POWER
public static final SymmetricMeter.ChannelId MAX_ACTIVE_POWER
Maximum Ever Active Power.- Interface: Meter Symmetric
- Type: Integer
- Unit: W
- Range: positive or '0'
- Implementation Note: value is automatically derived from ACTIVE_POWER
-
ACTIVE_POWER
public static final SymmetricMeter.ChannelId ACTIVE_POWER
Active Power.- Interface: Meter Symmetric
- Type: Integer
- Unit: W
- Range: negative values for Consumption (power that is 'leaving the system', e.g. feed-to-grid); positive for Production (power that is 'entering the system')
-
REACTIVE_POWER
public static final SymmetricMeter.ChannelId REACTIVE_POWER
Reactive Power.- Interface: Meter Symmetric
- Type: Integer
- Unit: var
- Range: negative values for Consumption (power that is 'leaving the system', e.g. feed-to-grid); positive for Production (power that is 'entering the system')
-
ACTIVE_PRODUCTION_ENERGY
public static final SymmetricMeter.ChannelId ACTIVE_PRODUCTION_ENERGY
Active Production Energy.- Interface: Meter Symmetric
- Type: Integer
- Unit: Wh
-
ACTIVE_CONSUMPTION_ENERGY
public static final SymmetricMeter.ChannelId ACTIVE_CONSUMPTION_ENERGY
Active Consumption Energy.- Interface: Meter Symmetric
- Type: Integer
- Unit: Wh
-
VOLTAGE
public static final SymmetricMeter.ChannelId VOLTAGE
Voltage.- Interface: Meter Symmetric
- Type: Integer
- Unit: mV
-
CURRENT
public static final SymmetricMeter.ChannelId CURRENT
Current.- Interface: Meter Symmetric
- Type: Integer
- Unit: mA
-
-
Method Detail
-
values
public static SymmetricMeter.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 (SymmetricMeter.ChannelId c : SymmetricMeter.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 SymmetricMeter.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
-
-