public interface DeviceType
DeviceType
is a class used to map the Device name to their corresponding type number.Modifier and Type | Method and Description |
---|---|
static java.lang.String |
fromDeviceType(int deviceType)
Map device to its type number.
|
static int |
toDeviceType(Device device)
Map device to its type number.
|
static int toDeviceType(Device device)
device
- Device
to map fromstatic java.lang.String fromDeviceType(int deviceType)
deviceType
- the number specified by engineDevice
to map to