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.
129 lines
4.9 KiB
129 lines
4.9 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Data;
|
|
using ICSSoft.Frame.Data.DAL;
|
|
|
|
|
|
namespace ICSSoft.Frame.Data.BLL
|
|
{
|
|
public class ICSWorkReportBLL
|
|
{
|
|
/// <summary>
|
|
/// 获取跟踪单工序基础信息及派工开工基础信息
|
|
/// </summary>
|
|
/// <param name="LOTNO"></param>
|
|
/// <param name="OPCODE"></param>
|
|
/// <param name="WorkPoint"></param>
|
|
/// <param name="AppConnectString"></param>
|
|
/// <returns></returns>
|
|
public static DataTable QueryLotNoOPCodeSendAndReport(string LOTNO, string OPCODE, string WorkPoint, string AppConnectString)
|
|
{
|
|
return ICSWorkReportDAL.QueryLotNoOPCodeSendAndReport(LOTNO, OPCODE, WorkPoint, AppConnectString);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 获取上工序及报工信息
|
|
/// </summary>
|
|
/// <param name="LOTNO"></param>
|
|
/// <param name="OPSEQ"></param>
|
|
/// <param name="WorkPoint"></param>
|
|
/// <param name="AppConnectString"></param>
|
|
/// <returns></returns>
|
|
public static DataTable QueryPreOPCodeInfo(string LOTNO, int OPSEQ, string WorkPoint, string AppConnectString)
|
|
{
|
|
return ICSWorkReportDAL.QueryPreOPCodeInfo(LOTNO, OPSEQ, WorkPoint, AppConnectString);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 获取工序检验/ncr信息
|
|
/// </summary>
|
|
/// <param name="ONWIPID"></param>
|
|
/// <param name="WorkPoint"></param>
|
|
/// <param name="AppConnectString"></param>
|
|
/// <returns></returns>
|
|
public static DataTable QueryPreOPCheckAndNcrInfo(string ONWIPID, string WorkPoint, string AppConnectString)
|
|
{
|
|
return ICSWorkReportDAL.QueryPreOPCheckAndNcrInfo(ONWIPID, WorkPoint, AppConnectString);
|
|
}
|
|
|
|
|
|
//20220214
|
|
|
|
public static DataTable Record_Songjian4User(string LOTNO, string ROUTECODE, string OPCODE, string MUSER, string WorkPoint, bool OnlyEnable, bool notEnd, bool OnlyCalc)
|
|
{
|
|
return ICSWorkReportDAL.Record_Songjian4User(LOTNO, ROUTECODE, OPCODE, MUSER, WorkPoint, OnlyEnable, notEnd, OnlyCalc);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 本次开工送检记录,送检/取消送检/tab页/人员录入/报工/定时器
|
|
/// </summary>
|
|
/// <param name="wipdetID"></param>
|
|
/// <param name="OnlyEnable"></param>
|
|
/// <param name="OnlyCalc"></param>
|
|
/// <returns></returns>
|
|
public static DataTable Record_Songjian4User(string wipdetID, bool OnlyEnable, bool OnlyCalc)
|
|
{
|
|
return ICSWorkReportDAL.Record_Songjian4User(wipdetID, OnlyEnable, OnlyCalc);
|
|
}
|
|
|
|
public static DataTable Record_Songjian4UserAll(string wipdetID, bool OnlyEnable, bool OnlyCalc)
|
|
{
|
|
return ICSWorkReportDAL.Record_Songjian4UserAll(wipdetID, OnlyEnable, OnlyCalc);
|
|
}
|
|
|
|
public static DataTable QueryQtySongjian4OP(string wipid)
|
|
{
|
|
return ICSWorkReportDAL.QueryQtySongjian4OP(wipid);
|
|
}
|
|
|
|
public static DataTable QueryQtySongjian4OPAll(string wipid)
|
|
{
|
|
return ICSWorkReportDAL.QueryQtySongjian4OPAll(wipid);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 工序送检数量,ng数量,未检数量
|
|
/// </summary>
|
|
/// <param name="wipid"></param>
|
|
/// <returns></returns>
|
|
public static DataTable Record_Songjian4OP(string wipid)
|
|
{
|
|
return ICSWorkReportDAL.Record_Songjian4OP(wipid);
|
|
}
|
|
|
|
/// <summary>
|
|
/// 首件信息
|
|
/// </summary>
|
|
/// <param name="codeType"></param>
|
|
/// <param name="code"></param>
|
|
/// <param name="MOSEQ"></param>
|
|
/// <param name="ROUTECODE"></param>
|
|
/// <param name="OPCODE"></param>
|
|
/// <param name="EQPCode"></param>
|
|
/// <param name="WorkPoint"></param>
|
|
/// <param name="shoujianType"></param>
|
|
/// <returns></returns>
|
|
public static DataTable Shoujian(string codeType, string code, string MOSEQ, string ROUTECODE, string OPCODE, string EQPCode, string WorkPoint, params string[] shoujianType)
|
|
{
|
|
return ICSWorkReportDAL.Shoujian(codeType, code, MOSEQ, ROUTECODE, OPCODE, EQPCode, WorkPoint, shoujianType);
|
|
}
|
|
|
|
public static DataTable WorkReportQTY(string wipdi)
|
|
{
|
|
return ICSWorkReportDAL.WorkReportQTY(wipdi);
|
|
}
|
|
|
|
public static DataTable SongjianShoujianNotFinishBeforeMe(string wipdetID, bool includeself = false, params string[] shoujianTypes)
|
|
{
|
|
return ICSWorkReportDAL.SongjianShoujianNotFinishBeforeMe(wipdetID, includeself, shoujianTypes);
|
|
}
|
|
|
|
|
|
public static DataTable GetBaseOPCode(string OPCODE, string WorkPoint, string AppConnectString)
|
|
{
|
|
return ICSWorkReportDAL.GetBaseOPCode(OPCODE, WorkPoint, AppConnectString);
|
|
}
|
|
}
|
|
}
|