using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using MESClassLibrary.BLL.Log; using MESClassLibrary.DAL.Andon; using MESClassLibrary.Model; namespace MESClassLibrary.BLL.Andon { public class AndonButtonRecordBLL { AndonButtonRecordDAL da=new AndonButtonRecordDAL(); public bool InsertInfo(AndonRecordModel md) { try { return da.InsertInfo(md); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return false; } } public bool UpdateInfo(AndonRecordModel md) { try { return da.UpdateInfo(md); } catch (Exception ex) { LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); return false; } } } }