public class IDCode
extends Object
| Constructor and Description | 
|---|
IDCode()  | 
| Modifier and Type | Method and Description | 
|---|---|
static int | 
createIDCode(int devIDCode,
            int revision)
For a given ID code, modify it based on the silicon revision 
 | 
static Integer | 
getIDCode(Device device)
Gets the unique device ID code 
 | 
static Integer | 
getIDCode(Device device,
         int slrConfigIndex)
Gets the ID code for devices with multi SLRs. 
 | 
static Integer | 
getIDCode(String partName)
Gets the unique device ID code 
 | 
public static int createIDCode(int devIDCode,
                               int revision)
devIDCode - Existing ID coderevision - Silicon revision (1, meaning rev1 etc)public static Integer getIDCode(Device device)
device - The device of interestpublic static Integer getIDCode(Device device, int slrConfigIndex)
device - The device of interestslrConfigIndex - The configuration order index of the SLR of interestpublic static Integer getIDCode(String partName)
partName - The name of a part