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.
72 lines
2.2 KiB
72 lines
2.2 KiB
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);
|
|
//}
|
|
|
|
/// <summary>
|
|
/// 暂停
|
|
/// </summary>
|
|
/// <param name="wipDetailInfo"></param>
|
|
/// <param name="ztinfo"></param>
|
|
/// <param name="p"></param>
|
|
public static void Suspend(ICSLOTONWIPDetail wipDetailInfo, ICSLOTPAUSE ztinfo, string p)
|
|
{
|
|
ICSLOTONWIPDetailDAL.Suspend(wipDetailInfo, ztinfo, p);
|
|
}
|
|
/// <summary>
|
|
/// 继续
|
|
/// </summary>
|
|
/// <param name="ID_wipDetail"></param>
|
|
/// <param name="ID_PAUSE"></param>
|
|
/// <param name="p"></param>
|
|
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);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 完工
|
|
/// </summary>
|
|
/// <param name="main"></param>
|
|
/// <param name="detail"></param>
|
|
/// <param name="p"></param>
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
}
|