You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1020 B
42 lines
1020 B
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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|