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
1007 B
42 lines
1007 B
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.PunchAndWeld;
|
|
|
|
namespace MESClassLibrary.BLL.PunchAndWeld
|
|
{
|
|
public class PunchDeviceBLL
|
|
{
|
|
PunchDeviceDAL da=new PunchDeviceDAL();
|
|
|
|
public DataTable SearchInfo()
|
|
{
|
|
try
|
|
{
|
|
return da.SearchInfo();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public DataTable SearchDeviceNo(string deviceName)
|
|
{
|
|
try
|
|
{
|
|
return da.SearchDeviceNo(deviceName);
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod());
|
|
return null;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|