question: public static String makeSystemName ( String type , int nAddress , int bitNum ) { String nName = "" ; if ( ( ! type . equals ( "S" ) ) && ( ! type . equals ( "L" ) ) && ( ! type . equals ( "T" ) ) ) { log . error ( "illegal type character proposed for system name" ) ; return ( nName ) ; } if ( ( nAddress < 0 ) || ( nAddress > 127 ) ) { log . error ( "illegal node adddress proposed for system name" ) ; return ( nName ) ; } if ( ( bitNum < 1 ) || ( bitNum > 2048 ) ) { log . error ( "illegal bit number proposed for system name" ) ; return ( nName ) ; } if ( bitNum < 1000 ) { nName = "C" + type + Integer . toString ( ( nAddress * 1000 ) + bitNum ) ; } else { nName = "C" + type + Integer . toString ( nAddress ) + "B" + Integer . toString ( bitNum ) ; } return ( nName ) ; }
target:  Public static method to construct a C/MRI system name from type character, node address, and bit number <P> This routine returns a system name in the CLnnnxxx, CTnnnxxx, or CSnnnxxx format if the bit number is 1 - 999. If the bit number is 1000 - 2048, the system name is returned in the CLnnnBxxxx, CTnnnBxxxx, or CSnnnBxxxx format. The returned name is normalized. <P> If the supplied character is not valid, or the node address is out of the 0 - 127 range, or the bit number is out of the 1 - 2048 range, an error message is logged and the null string "" is returned.