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 { /// /// 获取跟踪单工序基础信息及派工开工基础信息 /// /// /// /// /// /// public static DataTable QueryLotNoOPCodeSendAndReport(string LOTNO, string OPCODE, string WorkPoint, string AppConnectString) { return ICSWorkReportDAL.QueryLotNoOPCodeSendAndReport(LOTNO, OPCODE, WorkPoint, AppConnectString); } /// /// 获取上工序及报工信息 /// /// /// /// /// /// public static DataTable QueryPreOPCodeInfo(string LOTNO, int OPSEQ, string WorkPoint, string AppConnectString) { return ICSWorkReportDAL.QueryPreOPCodeInfo(LOTNO, OPSEQ, WorkPoint, AppConnectString); } /// /// 获取工序检验/ncr信息 /// /// /// /// /// 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); } /// /// 本次开工送检记录,送检/取消送检/tab页/人员录入/报工/定时器 /// /// /// /// /// 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); } /// /// 工序送检数量,ng数量,未检数量 /// /// /// public static DataTable Record_Songjian4OP(string wipid) { return ICSWorkReportDAL.Record_Songjian4OP(wipid); } /// /// 首件信息 /// /// /// /// /// /// /// /// /// /// 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); } } }