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.
43 lines
1.1 KiB
43 lines
1.1 KiB
3 months ago
|
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.ZPPlan;
|
||
|
|
||
|
namespace MESClassLibrary.BLL.ZPPlan
|
||
|
{
|
||
|
public class ZPBomBLL
|
||
|
{
|
||
|
ZPBomDAL da=new ZPBomDAL();
|
||
|
|
||
|
public DataTable IsMath(string stationNo, string partNo1, string partNo2)
|
||
|
{
|
||
|
try
|
||
|
{
|
||
|
return da.IsMath(stationNo, partNo1, partNo2);
|
||
|
}
|
||
|
catch (Exception ex)
|
||
|
{
|
||
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public DataTable SearchPartAndMould(string stationNo, string partNo1, string mould)
|
||
|
{
|
||
|
try
|
||
|
{
|
||
|
return da.SearchPartAndMould(stationNo, partNo1, mould);
|
||
|
}
|
||
|
catch (Exception ex)
|
||
|
{
|
||
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
||
|
return null;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|