public static void outPutInboundTrainInfo(ArrayList<ArrayList<Block>> bl){
		try{
			jxl.write.WritableWorkbook writeWorkBook = Workbook.createWorkbook(new File("Output_File.xls"));
			jxl.write.WritableSheet writeSheet = writeWorkBook.createSheet("inbound_train", 0);   //建立一個工作表名字，然後0表示為第一頁		
			writeSheet.addCell(new Label(0, 0, "Inbound Train No"));
			writeSheet.addCell(new Label(1, 0, "Day No"));
			writeSheet.addCell(new Label(2, 0, "Arriving time at receiving area"));
			writeSheet.addCell(new Label(3, 0, "Receiving track No"));
			writeSheet.addCell(new Label(4, 0, "Number of blocks"));
			writeSheet.addCell(new Label(5, 0, "Number of cars"));
			writeSheet.addCell(new Label(6, 0, "Destination of blocks (number of cars)"));
			writeSheet.addCell(new Label(7, 0, "Starting time of humping job"));
			writeSheet.addCell(new Label(8, 0, "Ending time of humping job"));
			
			
			for(int i=0 ; i<bl.size() ; i++){
				ArrayList<ArrayList<String>> tmpBlockName = countBlocks(bl.get(i));
				String destinationOfBlocks = new String();
				for(ArrayList<String> tb : tmpBlockName){
					destinationOfBlocks += tb.get(0) + "(" + tb.size() + ");";
				}
				writeSheet.addCell(new Label(0, i+1, "i" + bl.get(i).get(0).trainId));
				writeSheet.addCell(new Label(1, i+1, Integer.toString(bl.get(i).get(0).arrivalDay)));
				writeSheet.addCell(new Label(2, i+1, changeToFormatTime(bl.get(i).get(0).timeAtReceivingArea)));
				writeSheet.addCell(new Label(3, i+1, "R" + (bl.get(i).get(0).receivingTrackNo+1)));
				writeSheet.addCell(new Label(4, i+1, Integer.toString(tmpBlockName.size())));
				writeSheet.addCell(new Label(5, i+1, Integer.toString(bl.get(i).size())));
				writeSheet.addCell(new Label(6, i+1, destinationOfBlocks));
				writeSheet.addCell(new Label(7, i+1, changeToFormatTime(bl.get(i).get(0).timeStartHump)));
				writeSheet.addCell(new Label(8, i+1, changeToFormatTime(bl.get(i).get(0).timeEndHump)));
				
				destinationOfBlocks = null;
				tmpBlockName = null;
			}
			
			
			writeWorkBook.write();
			writeWorkBook.close();
		}
		catch (FileNotFoundException e) {
			e.printStackTrace();
		}catch (IOException e) {
			e.printStackTrace();
		} catch (RowsExceededException e) {
			e.printStackTrace();
		} catch (WriteException e) {
			e.printStackTrace();
		}
		
	}