public static boolean validSystemNameConfig(String systemName,char type,AcelaSystemConnectionMemo memo){
  if (!validSystemNameFormat(systemName,type,memo.getSystemPrefix())) {
    return false;
  }
  AcelaNode node=getNodeFromSystemName(systemName,memo);
  if (node == null) {
    return false;
  }
  int bit=getBitFromSystemName(systemName);
  if ((type == 'T') || (type == 'L')) {
    if ((bit < MINOUTPUTADDRESS) || (bit > MAXOUTPUTADDRESS)) {
      return false;
    }
  }
 else   if (type == 'S') {
    if ((bit < MINSENSORADDRESS) || (bit > MAXSENSORADDRESS)) {
      return false;
    }
  }
 else {
    log.error("Invalid type specification in validSystemNameConfig call");
    return false;
  }
  return true;
}

public static boolean validSystemNameConfig ( String systemName , char type , AcelaSystemConnectionMemo memo ) { if ( ! validSystemNameFormat ( systemName , type , memo . getSystemPrefix ( ) ) ) { return false ; } AcelaNode node = getNodeFromSystemName ( systemName , memo ) ; if ( node == null ) { return false ; } int bit = getBitFromSystemName ( systemName ) ; if ( ( type == 'T' ) || ( type == 'L' ) ) { if ( ( bit < MINOUTPUTADDRESS ) || ( bit > MAXOUTPUTADDRESS ) ) { return false ; } } else if ( type == 'S' ) { if ( ( bit < MINSENSORADDRESS ) || ( bit > MAXSENSORADDRESS ) ) { return false ; } } else { log . error ( "Invalid type specification in validSystemNameConfig call" ) ; return false ; } return true ; }
public static method to validate acela system name for configuration returns ' true ' if system name has a valid meaning in current configuration , else returns ' false '
