public static PbBillInfo GetBillBase(string fileName) { ParseManager parseManager = new ParseManager(); PbBillInfo billInfo = parseManager.ParseBillFile(fileName); fName = fileName.Substring(fileName.LastIndexOf("\\") + 2, fileName.LastIndexOf(".") - fileName.LastIndexOf("\\") - 2); Log("------>>>> 开始解析" + fName + ".ini"); return(billInfo); }