using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Reflection; using System.Text; using MESClassLibrary.BLL.Log; using MESClassLibrary.DAL; using MESClassLibrary.DAL.PunchAndWeld; namespace MESClassLibrary.BLL.PunchAndWeld { public class PunchPlanMFABLL { PunchPlanMFADAL da=new PunchPlanMFADAL(); public bool InsertPlan(string DeviceNo) { try { return da.InsertPlan(DeviceNo); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return false; } } public DataTable SearchMFAPlan(string DeviceNo) { try { return da.SearchMFAPlan(DeviceNo); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return null; } } public bool UpFinish(int ID) { try { return da.UpFinish(ID); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return false; } } #region 前保 public bool InsertPlan_F(string DeviceNo) { try { return da.InsertPlan_F(DeviceNo); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return false; } } public DataTable SearchNGCCPlan(string DeviceNo) { try { return da.NGCC(DeviceNo); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return null; } } public bool UpFinish_F(int ID) { try { return da.UpFinish_F(ID); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return false; } } #endregion } }