using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ICSSoft.Frame.Data.DAL;
using ICSSoft.Frame.Data.Entity;
using System.Data;
namespace ICSSoft.Frame.Data.BLL
{
public class ICSLOTONWIPDetailBLL
{
//public static void Suspend(string conn,ICSLOTONWIPDetail wipDetail)
//{
// ICSLOTONWIPDetailDAL.Suspend(conn,wipDetail);
//}
///
/// 暂停
///
///
///
///
public static void Suspend(ICSLOTONWIPDetail wipDetailInfo, ICSLOTPAUSE ztinfo, string p)
{
ICSLOTONWIPDetailDAL.Suspend(wipDetailInfo, ztinfo, p);
}
///
/// 继续
///
///
///
///
public static void Continue(string ID_wipDetail, string ID_PAUSE, string p)
{
ICSLOTONWIPDetailDAL.Continue(ID_wipDetail, ID_PAUSE, p);
}
public static void ReStart(ICSLOTONWIPDetail detail, string conn)
{
ICSLOTONWIPDetailDAL.ReStart(detail, conn);
}
///
/// 完工
///
///
///
///
public static void EndUserOP(ICSLOTONWIP main, ICSLOTONWIPDetail detail, string conn)
{
ICSLOTONWIPDetailDAL.EndUserOP(main, detail, conn);
}
public static int QueryAllOPUserState(string lot, string route, string op, string workpoint, string conn)
{
return ICSLOTONWIPDetailDAL.QueryAllOPUserState(lot, route, op, workpoint, conn);
}
public static void CollectOPStart(ICSLOTSIMULATION siminfo, ICSLOTONWIP wipinfo, ICSLOTONWIPDetail wipDetailinfo, string dsconn)
{
try
{
ICSLOTONWIPDetailDAL.CollectOPStart(siminfo, wipinfo, wipDetailinfo, dsconn);
}
catch (Exception ex)
{
throw ex;
}
}
}
}