Enum LnIPLImplementation.DeviceTypes
- java.lang.Object
-
- java.lang.Enum<LnIPLImplementation.DeviceTypes>
-
- jmri.jmrix.loconet.duplexgroup.swing.LnIPLImplementation.DeviceTypes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LnIPLImplementation.DeviceTypes>
- Enclosing class:
- LnIPLImplementation
public static enum LnIPLImplementation.DeviceTypes extends java.lang.Enum<LnIPLImplementation.DeviceTypes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BXP88
BXPA1
DB210
DB210OPTO
DB220
DCS210
DCS210plus
DCS240
DCS240plus
DCS51
DCS52
DT402D
DT402X
DT500D
DT500X
DT602X
LNWI
PR3
PR4
RR_CKTS_LNCP
RR_CKTS_MOTORMan
RR_CKTS_MOTORMANII
RR_CKTS_SIGNALMAN
RR_CKTS_TC_MKII
RR_CKTS_TC64
RR_CKTS_TOWERMAN
RR_CKTS_WATCHMAN
UR92
UT4D
UT4X
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDeviceIdNumber()
java.lang.String
getDeviceName()
int
getManufacturer()
java.lang.String
getManufacturerName()
int
getSlaveDeviceIdNumber()
int
getSlaveManufacturer()
boolean
isDeviceMatch(int mfg, int devId)
boolean
isDeviceMatch(int mfg, int devId, int slaveMfg, int slaveDevId)
static LnIPLImplementation.DeviceTypes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LnIPLImplementation.DeviceTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UT4D
public static final LnIPLImplementation.DeviceTypes UT4D
-
UT4X
public static final LnIPLImplementation.DeviceTypes UT4X
-
DCS51
public static final LnIPLImplementation.DeviceTypes DCS51
-
DCS52
public static final LnIPLImplementation.DeviceTypes DCS52
-
DT402D
public static final LnIPLImplementation.DeviceTypes DT402D
-
DT402X
public static final LnIPLImplementation.DeviceTypes DT402X
-
PR3
public static final LnIPLImplementation.DeviceTypes PR3
-
UR92
public static final LnIPLImplementation.DeviceTypes UR92
-
DB210OPTO
public static final LnIPLImplementation.DeviceTypes DB210OPTO
-
DB210
public static final LnIPLImplementation.DeviceTypes DB210
-
DB220
public static final LnIPLImplementation.DeviceTypes DB220
-
PR4
public static final LnIPLImplementation.DeviceTypes PR4
-
BXP88
public static final LnIPLImplementation.DeviceTypes BXP88
-
LNWI
public static final LnIPLImplementation.DeviceTypes LNWI
-
DCS210
public static final LnIPLImplementation.DeviceTypes DCS210
-
DCS240
public static final LnIPLImplementation.DeviceTypes DCS240
-
DT500D
public static final LnIPLImplementation.DeviceTypes DT500D
-
DT500X
public static final LnIPLImplementation.DeviceTypes DT500X
-
DT602X
public static final LnIPLImplementation.DeviceTypes DT602X
-
BXPA1
public static final LnIPLImplementation.DeviceTypes BXPA1
-
DCS210plus
public static final LnIPLImplementation.DeviceTypes DCS210plus
-
DCS240plus
public static final LnIPLImplementation.DeviceTypes DCS240plus
-
RR_CKTS_TC64
public static final LnIPLImplementation.DeviceTypes RR_CKTS_TC64
-
RR_CKTS_TC_MKII
public static final LnIPLImplementation.DeviceTypes RR_CKTS_TC_MKII
-
RR_CKTS_LNCP
public static final LnIPLImplementation.DeviceTypes RR_CKTS_LNCP
-
RR_CKTS_MOTORMan
public static final LnIPLImplementation.DeviceTypes RR_CKTS_MOTORMan
-
RR_CKTS_MOTORMANII
public static final LnIPLImplementation.DeviceTypes RR_CKTS_MOTORMANII
-
RR_CKTS_SIGNALMAN
public static final LnIPLImplementation.DeviceTypes RR_CKTS_SIGNALMAN
-
RR_CKTS_TOWERMAN
public static final LnIPLImplementation.DeviceTypes RR_CKTS_TOWERMAN
-
RR_CKTS_WATCHMAN
public static final LnIPLImplementation.DeviceTypes RR_CKTS_WATCHMAN
-
-
Method Detail
-
values
public static LnIPLImplementation.DeviceTypes[] 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 (LnIPLImplementation.DeviceTypes c : LnIPLImplementation.DeviceTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LnIPLImplementation.DeviceTypes 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
-
getManufacturer
public final int getManufacturer()
-
getDeviceIdNumber
public final int getDeviceIdNumber()
-
getSlaveManufacturer
public final int getSlaveManufacturer()
-
getSlaveDeviceIdNumber
public final int getSlaveDeviceIdNumber()
-
isDeviceMatch
public final boolean isDeviceMatch(int mfg, int devId, int slaveMfg, int slaveDevId)
-
isDeviceMatch
public final boolean isDeviceMatch(int mfg, int devId)
-
getManufacturerName
public final java.lang.String getManufacturerName()
-
getDeviceName
public final java.lang.String getDeviceName()
-
-