using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using MESClassLibrary.BLL.Log; using MESClassLibrary.DAL.Injection; namespace MESClassLibrary.BLL.Injection { public class BarCodeRecordBLL { BarCodeRecordDAL da=new BarCodeRecordDAL(); public string SearchInfoAll(string page, string pagesize, string stationID, string barcode, string startTime,string endTime) { try { return da.SearchInfoAll(page, pagesize, stationID, barcode, startTime, endTime); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(),MethodBase.GetCurrentMethod()); return ""; } } public string SearchInfoByRepeat(string page, string pagesize, string startTime, string endTime) { try { return da.SearchInfoByRepeat(page, pagesize,startTime, endTime); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return ""; } } } }