Package io.openems.edge.meter.api
Enum Class SymmetricMeter.ChannelId
- All Implemented Interfaces:
ChannelId
,Serializable
,Comparable<SymmetricMeter.ChannelId>
,Constable
- Enclosing interface:
- SymmetricMeter
public static enum SymmetricMeter.ChannelId
extends Enum<SymmetricMeter.ChannelId>
implements ChannelId
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface io.openems.edge.common.channel.ChannelId
ChannelId.ChannelIdImpl
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionActive Consumption Energy.Active Power.Active Production Energy.Current.Frequency.Maximum Ever Active Power.Minimum Ever Active Power.Reactive Power.Voltage. -
Method Summary
Modifier and TypeMethodDescriptiondoc()
Gets the Channel Doc for this ChannelId.static SymmetricMeter.ChannelId
Returns the enum constant of this class with the specified name.static SymmetricMeter.ChannelId[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FREQUENCY
Frequency.- Interface: Meter Symmetric
- Type: Integer
- Unit: mHz
- Range: only positive values
-
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
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
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
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
Active Production Energy.- Interface: Meter Symmetric
- Type: Integer
- Unit: Wh
-
ACTIVE_CONSUMPTION_ENERGY
Active Consumption Energy.- Interface: Meter Symmetric
- Type: Integer
- Unit: Wh
-
VOLTAGE
Voltage.- Interface: Meter Symmetric
- Type: Integer
- Unit: mV
-
CURRENT
Current.- Interface: Meter Symmetric
- Type: Integer
- Unit: mA
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
doc
Description copied from interface:ChannelId
Gets the Channel Doc for this ChannelId.
-