华恒Mes鼎捷代码
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.

114 lines
2.7 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ICSSoft.Frame.Data.DAL;
using System.Data;
using ICSSoft.Frame.Data.Entity;
namespace ICSSoft.Frame.Data.BLL
{
public class ICSOQCCKGROUPBLL
{
#region AddandEdit
public static void AddandEdit(ICSOQCCKGROUP ItemLot, string Appconstr)
{
try
{
ICSOQCCKGROUPDAL.AddandEdit(ItemLot, Appconstr);
}
catch (Exception ex)
{
throw ex;
}
}
public static string AddList(List<ICSROUTE> RouteLists, List<ICSROUTE2OP> OPLists, string Appconstr)
{
try
{
return ICSROUTEDAL.AddList(RouteLists, OPLists, Appconstr);
}
catch (Exception ex)
{
throw ex;
}
}
public static string AddList(List<ICSOQCCKGROUP> InfoList, string Appconstr)
{
try
{
return ICSOQCCKGROUPDAL.AddList(InfoList, Appconstr);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
public static ICSOQCCKGROUP search(string CKGROUP, String Appconstr)
{
return ICSOQCCKGROUPDAL.search(CKGROUP, Appconstr);
}
#region delete
public static void delete(List<String> guidList)
{
ICSOQCCKGROUPDAL.delete(guidList);
}
#endregion
#region 获取检验方式
public static DataTable SearchData(string dsconn)
{
try
{
return ICSOQCCKGROUPDAL.SearchData(dsconn);
}
catch (Exception ex)
{
throw ex;
}
}
public static DataTable SearchData(string EnumText, string dsconn)
{
try
{
return ICSOQCCKGROUPDAL.SearchData(EnumText, dsconn);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 获取检验属性
public static DataTable SearchDataa(string dsconn)
{
try
{
return ICSOQCCKGROUPDAL.SearchDataa(dsconn);
}
catch (Exception ex)
{
throw ex;
}
}
public static DataTable SearchDataa(string EnumText, string dsconn)
{
try
{
return ICSOQCCKGROUPDAL.SearchDataa(EnumText, dsconn);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
}
}