Package io.openems.edge.evcs.ocpp.server
Enum Class Unit
- All Implemented Interfaces:
Serializable
,Comparable<Unit>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAmperes (current).Degrees (temperature).Fahrenheit Degrees (temperature).Kelvin (temperature).kiloVolt Ampere (apparent power).kilovars (reactive power).kilovar-hours (reactive energy).kilowatts (power).kiloWatt-hours (energy).Percentage.Voltage (r.m.s.VoltAmpere (apparent power).Vars (reactive power).Var-hours (reactive energy).Watts (power).Watt-hours (energy). -
Method Summary
-
Enum Constant Details
-
WH
Watt-hours (energy). Default. -
KWH
kiloWatt-hours (energy). -
VARH
Var-hours (reactive energy). -
KVARH
kilovar-hours (reactive energy). -
W
Watts (power). -
KW
kilowatts (power). -
VA
VoltAmpere (apparent power). -
KVA
kiloVolt Ampere (apparent power). -
VAR
Vars (reactive power). -
KVAR
kilovars (reactive power). -
A
Amperes (current). -
V
Voltage (r.m.s. AC). -
CELSIUS
Degrees (temperature). -
FAHRENHEIT
Fahrenheit Degrees (temperature). -
K
Kelvin (temperature). -
PERCENT
Percentage.
-
-
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
-