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.
56 lines
1.5 KiB
56 lines
1.5 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.Mistake243;
|
|
|
|
namespace MESClassLibrary.BLL.Mistake243
|
|
{
|
|
public class Mistake243BLL
|
|
{
|
|
public DataTable IsMath(string DeviceNo, string PartNo)
|
|
{
|
|
Mistake243DAL da = new Mistake243DAL();
|
|
try
|
|
{
|
|
return da.IsMath(DeviceNo, PartNo);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public DataTable SearchByNo(string PartNo, string deviceNo)
|
|
{
|
|
Mistake243DAL da = new Mistake243DAL();
|
|
try
|
|
{
|
|
return da.SearchByNo(PartNo, deviceNo);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public DataTable SearchPartName(string PartNo)
|
|
{
|
|
Mistake243DAL da = new Mistake243DAL();
|
|
try
|
|
{
|
|
return da.SearchPartName(PartNo);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|