org.openmuc.jmbus
public enum DeviceType extends java.lang.Enum<DeviceType>
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static DeviceType |
newDevice(int code) |
static DeviceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceType OTHER
public static final DeviceType OIL
public static final DeviceType ELECTRICITY
public static final DeviceType GAS
public static final DeviceType HEAT
public static final DeviceType STEAM
public static final DeviceType WARM_WATER
public static final DeviceType WATER
public static final DeviceType HEAT_COST_ALLOCATOR
public static final DeviceType COMPRESSED_AIR
public static final DeviceType COOLING_LOAD_METER_OUTLET
public static final DeviceType COOLING_LOAD_METER_INLET
public static final DeviceType HEAT_INLET
public static final DeviceType HEAT_COOLING_LOAD_METER
public static final DeviceType BUS_SYSTEM_COMPONENT
public static final DeviceType UNKNOWN_MEDIUM
public static final DeviceType HOT_WATER
public static final DeviceType COLD_WATER
public static final DeviceType DUAL_REGISTER_WATER_METER
public static final DeviceType PRESSURE
public static final DeviceType AD_CONVERTER
public static final DeviceType RESERVED_FOR_VALVE
public static DeviceType[] values()
for (DeviceType c : DeviceType.values()) System.out.println(c);
public static DeviceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()
public static DeviceType newDevice(int code)