Enum ErrorBits1
- java.lang.Object
-
- java.lang.Enum<ErrorBits1>
-
- io.openems.edge.battery.bmw.enums.ErrorBits1
-
- All Implemented Interfaces:
OptionsEnum
,java.io.Serializable
,java.lang.Comparable<ErrorBits1>
public enum ErrorBits1 extends java.lang.Enum<ErrorBits1> implements OptionsEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHARGE_CURRENT
CHARGE_POWER
COMMUNICATION
CONTACTOR_FUSE
DISCHARGE_CURRENT
DISCHARGE_POWER
HIGH_SOC
HIGH_TEMPERATURE
HIGH_VOLTAGE
IMBALANCE
INSULATION
LOW_SOC
LOW_TEMPERATURE
LOW_VOLTAGE
SENSOR
UNDEFINED
UNSPECIFIED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Gets this enums String representation.OptionsEnum
getUndefined()
Gets the enum that is used for 'UNDEFINED' values.int
getValue()
Gets this enums int representation.static ErrorBits1
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ErrorBits1[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.-
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface io.openems.common.types.OptionsEnum
asCamelCase, isUndefined
-
-
-
-
Enum Constant Detail
-
UNDEFINED
public static final ErrorBits1 UNDEFINED
-
UNSPECIFIED
public static final ErrorBits1 UNSPECIFIED
-
LOW_VOLTAGE
public static final ErrorBits1 LOW_VOLTAGE
-
HIGH_VOLTAGE
public static final ErrorBits1 HIGH_VOLTAGE
-
CHARGE_CURRENT
public static final ErrorBits1 CHARGE_CURRENT
-
DISCHARGE_CURRENT
public static final ErrorBits1 DISCHARGE_CURRENT
-
CHARGE_POWER
public static final ErrorBits1 CHARGE_POWER
-
DISCHARGE_POWER
public static final ErrorBits1 DISCHARGE_POWER
-
LOW_SOC
public static final ErrorBits1 LOW_SOC
-
HIGH_SOC
public static final ErrorBits1 HIGH_SOC
-
LOW_TEMPERATURE
public static final ErrorBits1 LOW_TEMPERATURE
-
HIGH_TEMPERATURE
public static final ErrorBits1 HIGH_TEMPERATURE
-
INSULATION
public static final ErrorBits1 INSULATION
-
CONTACTOR_FUSE
public static final ErrorBits1 CONTACTOR_FUSE
-
SENSOR
public static final ErrorBits1 SENSOR
-
IMBALANCE
public static final ErrorBits1 IMBALANCE
-
COMMUNICATION
public static final ErrorBits1 COMMUNICATION
-
-
Method Detail
-
values
public static ErrorBits1[] 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 (ErrorBits1 c : ErrorBits1.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorBits1 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
-
getValue
public int getValue()
Description copied from interface:OptionsEnum
Gets this enums int representation.- Specified by:
getValue
in interfaceOptionsEnum
- Returns:
- the int representation
-
getName
public java.lang.String getName()
Description copied from interface:OptionsEnum
Gets this enums String representation.- Specified by:
getName
in interfaceOptionsEnum
- Returns:
- the String representation
-
getUndefined
public OptionsEnum getUndefined()
Description copied from interface:OptionsEnum
Gets the enum that is used for 'UNDEFINED' values.- Specified by:
getUndefined
in interfaceOptionsEnum
- Returns:
- the UNDEFINED enum
-
-