注塑喷涂
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.
 
 
 
 
 

100 lines
2.3 KiB

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
}
}