Public Member Functions | |
void | setWindowSize (int maxWidth, int maxHeight) |
void | Refresh () |
Map | getRodCrateViewMap () |
boolean | isConfigured () |
void | getConfiguration () |
void | getConfiguration (int moduleGroup) |
String | getRODCrateKey (int partition, int crate) |
String | getRODCrateKey (String partition, String crate) |
void | definePowerSupplyMapping (int crate, int channel, String sn) |
String | getSNInfo (String sn, int index) |
String | getASerialNumberForSlot (int selection, int slot) |
boolean | isDCSAvailable () |
String | addModule (int barrel, int row, int number, int MUR, int moduleGroup, String serialNo) |
int | getRodSlotNumber (int selection, java.awt.event.MouseEvent e) |
ModuleCell | getCell (int viewCategory, int sctView, int x, int y) |
Set | getSerialNumberList (int viewCategory, int sctView) |
Set[] | buildSerialNumberMap () |
int | getNumberOfModules (int viewCategory, int sctView) |
int | getTotalNumberOfModules () |
ModuleCell | getModuleCell (String serialNo) |
void | drawRodCrateViewOutline (java.awt.Graphics2D g2, int selection) |
void | drawViewOutline (java.awt.Graphics2D g2, int viewCategory, int selection) |
void | drawSCTViewOutline (java.awt.Graphics2D g2, int selection) |
void | updateModuleGroups (List cellList) |
Static Public Member Functions | |
static ConfigurationInterface | getInstance () |
Static Public Attributes | |
static final int | VIEW_CATEGORIES = 2 |
static final int | SCT_VIEWS = 0 |
static final int | RODCRATE_VIEWS = 1 |
Package Attributes | |
double[] | radius = {0.,0.,0.,0.,0.,0.} |
int[] | xPoints = {0,0,0,0} |
int[] | yPoints = {0,0,0,0} |
long | fillsn = 3000 |
Private Member Functions | |
ConfigurationInterface () | |
void | defineBarrelModuleGraphicsCell (int barrel, int row, int number, int MUR, int moduleGroup, String serialNo, SNInfo snInfo) |
void | defineEndCapModuleGraphicsCell (int disk, int quadrant, int number, int MUR, int moduleGroup, String serialNo, SNInfo snInfo) |
void | calculateRodCratePolygon (int slot, int channel) |
void | calculateSCTPolygon (int view, int quadrant, int number) |
void | writeLookUpTable () |
Map | getLookUpMap (String directory) |
void | saveLookUpMap (int view, String directory, Map thisMap) |
Private Attributes | |
int | maxWidth = 0 |
int | midX = 0 |
int | midY = 0 |
int | moduleCount = 0 |
java.awt.Polygon | polygon |
String[][][][] | serialnos |
Map | moduleCellMap |
Set[][] | orderedList |
Map | viewMap |
Map[] | slotMap |
boolean | dcsAvailable |
Static Private Attributes | |
static ConfigurationInterface | instance = new ConfigurationInterface() |
Definition at line 14 of file ConfigurationInterface.java.