|
WIDAR Classes | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.nrc.widar.mccc.crmGui.CrmGuiOutput
public class CrmGuiOutput
WIDAR/EVLA - Crm GUI: CrmGuiOutput Class
A static class, containing variables and methods useful and common to the output and display of data for all classes within the package
Copyright: National Research Council of Canada and Associated Universities Inc., 2010, 2011, 2012
![]() |
![]() |
![]() |
![]() |
Field Summary | |
---|---|
static java.lang.String |
blbDefault
|
static java.text.DecimalFormat |
blbFormat
|
static java.lang.String |
CLASSNAME
|
static javax.xml.bind.JAXBContext |
crmJaxbContext
|
static java.text.DecimalFormat |
dpFormat
|
static int |
N_DP
|
static int |
N_F
|
static int |
N_SB
|
static int |
N_STAGES
|
static java.text.DecimalFormat |
qFormat
|
static java.text.DecimalFormat |
sbFormat
|
static java.lang.String |
stbDefault
|
static java.text.DecimalFormat |
stbFormat
|
static java.lang.String |
wDefault
|
static java.text.DecimalFormat |
wFormat
|
static java.lang.String |
xbDefault
|
static java.text.DecimalFormat |
xbLFormat
|
static java.text.DecimalFormat |
xbUFormat
|
Constructor Summary | |
---|---|
CrmGuiOutput()
|
Method Summary | |
---|---|
static java.lang.String |
composeCsdReport(ca.nrc.widar.jaxb.crm.CsdErrorReport cerXml)
Takes information from the supplied CsdErrorReport JAXB object and forms a string to be returned to the caller with the relevant information. |
static java.lang.String |
formatBlbAddress(java.lang.Integer r,
java.lang.Integer c,
java.lang.Integer s)
Based on provided component coordinates for a BlB within the EVLA correlator, constructs and returns a String describing the location of the component |
static java.lang.String |
formatBlbAddress(java.lang.Integer r,
java.lang.Integer c,
java.lang.Integer s,
java.lang.Integer q,
java.lang.Integer sb,
java.lang.Integer w)
Based on provided component coordinates for a BlB within the EVLA correlator, constructs and returns a String describing the location of the component, including quadrant, subband and wafer information |
static java.lang.String |
formatBlbAddressHtml(java.lang.Integer r,
java.lang.Integer c,
java.lang.Integer s)
Based on provided component coordinates for a BlB within the EVLA correlator, constructs and returns a String describing the location of the component |
static java.lang.String |
formatBlbAddressHtml(java.lang.Integer r,
java.lang.Integer c,
java.lang.Integer s,
java.lang.Integer q,
java.lang.Integer sb,
java.lang.Integer w)
Based on provided component coordinates for a BlB within the EVLA correlator, constructs and returns a String describing the location of the component, including quadrant, subband and wafer ID, surrounded by HTML tags |
static java.lang.String |
formatBlbHstResultsToHtml(ca.nrc.widar.jaxb.crm.Diagnostic diagXml)
A static method that returns a formatted HTML string with the results of the Hardware Self-Test (BLB) |
static java.lang.String |
formatBlbHstResultsToString(ca.nrc.widar.jaxb.crm.Diagnostic diagXml)
A static method that returns a formatted string with the results of the Hardware Self-Test (BLB) intended for output to ASCII file |
static java.lang.String |
formatCsdTest(ca.nrc.widar.jaxb.crm.CsdModeType m,
int id)
Takes the supplied CSD mode and ID, and returns a formatted string indicating the CSD mode |
static java.lang.String |
formatCsdTestHtml(ca.nrc.widar.jaxb.crm.CsdModeType m,
int id)
Takes the supplied CSD mode and ID, and returns a formatted string indicating the CSD mode, surrounded by HTML tags |
static java.lang.String |
formatStbAddress(java.lang.Integer r,
java.lang.Integer c,
java.lang.Integer s)
Based on provided component coordinates for a StB within the EVLA correlator, constructs and returns a String describing the location of the component |
static java.lang.String |
formatStbAddressHtml(java.lang.Integer r,
java.lang.Integer c,
java.lang.Integer s)
Based on provided component coordinates for a StB within the EVLA correlator, constructs and returns a String describing the location of the component surrounded by HTML tags |
static java.lang.String |
formatStbHstResultsToHtml(ca.nrc.widar.jaxb.crm.Diagnostic diagXml)
Returns a String containing the results of an StbHST diagnostic that is formatted in HTML and intended to display to the end user. |
static java.lang.String |
formatStbHstResultsToString(ca.nrc.widar.jaxb.crm.Diagnostic diagXml)
Returns a String containing the results of an StbHST diagnostic that is formatted for VT100 display and intended to display to the end user. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASSNAME
public static final int N_DP
public static final int N_F
public static final int N_STAGES
public static final int N_SB
public static javax.xml.bind.JAXBContext crmJaxbContext
public static final java.lang.String stbDefault
public static final java.lang.String blbDefault
public static final java.lang.String xbDefault
public static final java.lang.String wDefault
public static java.text.DecimalFormat xbUFormat
public static java.text.DecimalFormat xbLFormat
public static java.text.DecimalFormat sbFormat
public static java.text.DecimalFormat wFormat
public static java.text.DecimalFormat qFormat
public static java.text.DecimalFormat dpFormat
public static java.text.DecimalFormat stbFormat
public static java.text.DecimalFormat blbFormat
Constructor Detail |
---|
public CrmGuiOutput()
Method Detail |
---|
public static java.lang.String formatStbAddress(java.lang.Integer r, java.lang.Integer c, java.lang.Integer s)
r
- The integer rack ID (0-8)c
- The integer crate ID (0-1)s
- The integer slot ID (0-8)
public static java.lang.String formatStbAddressHtml(java.lang.Integer r, java.lang.Integer c, java.lang.Integer s)
r
- The integer rack ID (0-8)c
- The integer crate ID (0-1)s
- The integer slot ID (0-8)
public static java.lang.String formatBlbAddress(java.lang.Integer r, java.lang.Integer c, java.lang.Integer s)
r
- The integer rack ID (101-108)c
- The integer crate ID (0-1)s
- The integer slot ID (0-8)
public static java.lang.String formatBlbAddress(java.lang.Integer r, java.lang.Integer c, java.lang.Integer s, java.lang.Integer q, java.lang.Integer sb, java.lang.Integer w)
r
- The integer rack ID (101-108)c
- The integer crate ID (0-1)s
- The integer slot ID (0-8)q
- The quadrant ID (0-3)sb
- The subband ID (0-15)w
- The wafer ID (0-31)
public static java.lang.String formatBlbAddressHtml(java.lang.Integer r, java.lang.Integer c, java.lang.Integer s, java.lang.Integer q, java.lang.Integer sb, java.lang.Integer w)
r
- The integer rack ID (101-108)c
- The integer crate ID (0-1)s
- The integer slot ID (0-8)q
- The quadrant ID (0-3)sb
- The subband ID (0-15)w
- The wafer ID (0-31)
public static java.lang.String formatBlbAddressHtml(java.lang.Integer r, java.lang.Integer c, java.lang.Integer s)
r
- The integer rack ID (101-108)c
- The integer crate ID (0-1)s
- The integer slot ID (0-8)
public static java.lang.String composeCsdReport(ca.nrc.widar.jaxb.crm.CsdErrorReport cerXml)
cerXml
- A CsdErrorReport JAXB object
public static java.lang.String formatCsdTest(ca.nrc.widar.jaxb.crm.CsdModeType m, int id)
m
- The CsdModeType for this CSD modeid
- The CSD Mode ID for this CSD mode
public static java.lang.String formatCsdTestHtml(ca.nrc.widar.jaxb.crm.CsdModeType m, int id)
m
- The CsdModeType for this CSD modeid
- The CSD Mode ID for this CSD mode
public static java.lang.String formatBlbHstResultsToHtml(ca.nrc.widar.jaxb.crm.Diagnostic diagXml)
diagXml
- A diagnostic XML element presumeably containing a Result element
public static java.lang.String formatBlbHstResultsToString(ca.nrc.widar.jaxb.crm.Diagnostic diagXml)
diagXml
- A diagnostic XML element presumeably containing a Result element
public static java.lang.String formatStbHstResultsToHtml(ca.nrc.widar.jaxb.crm.Diagnostic diagXml)
diagXml
- The Diagnostic containing the results of an Stb HST
public static java.lang.String formatStbHstResultsToString(ca.nrc.widar.jaxb.crm.Diagnostic diagXml)
diagXml
- The Diagnostic containing the results of an Stb HST
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
NRAO/DRAO | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |