Enum CellChannelFactory.Type
- java.lang.Object
-
- java.lang.Enum<CellChannelFactory.Type>
-
- io.openems.edge.battery.soltaro.versionc.utils.CellChannelFactory.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CellChannelFactory.Type>
- Enclosing class:
- CellChannelFactory
public static enum CellChannelFactory.Type extends java.lang.Enum<CellChannelFactory.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TEMPERATURE_CLUSTER
TEMPERATURE_SINGLE
VOLTAGE_CLUSTER
VOLTAGE_SINGLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOffset()
Gets the Offset.int
getSensorsPerModule()
Gets the SensorsPerModule.static CellChannelFactory.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CellChannelFactory.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEMPERATURE_SINGLE
public static final CellChannelFactory.Type TEMPERATURE_SINGLE
-
VOLTAGE_SINGLE
public static final CellChannelFactory.Type VOLTAGE_SINGLE
-
TEMPERATURE_CLUSTER
public static final CellChannelFactory.Type TEMPERATURE_CLUSTER
-
VOLTAGE_CLUSTER
public static final CellChannelFactory.Type VOLTAGE_CLUSTER
-
-
Method Detail
-
values
public static CellChannelFactory.Type[] 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 (CellChannelFactory.Type c : CellChannelFactory.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CellChannelFactory.Type 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
-
getOffset
public int getOffset()
Gets the Offset.- Returns:
- int
-
getSensorsPerModule
public int getSensorsPerModule()
Gets the SensorsPerModule.- Returns:
- int
-
-