Example #1
0
 public tinprepairstock GetSingleRepairStock(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     RepairStockBll bll = new RepairStockBll(contextInfo);
     bll.CallAccessControl();
     tinprepairstock stock = bll.GetSingleObject<tinprepairstock>(lstParameters);
     GC.Collect();
     return stock;
 }
Example #2
0
 public DataSet GetRepairStockRecords(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     RepairStockBll bll = new RepairStockBll(contextInfo);
     bll.CallAccessControl();
     DataSet rs = bll.GetRepairStockRecords(lstParameters);
     GC.Collect();
     return rs;
 }
Example #3
0
 public void DoRepairBack(ContextInfo contextInfo, tinprepairstock repairstock, List<tinprepairfail> lstreasoncode, string jointtype, string signature)
 {
     contextInfo.Action = MES_ActionType.Insert;
     RepairStockBll bll = new RepairStockBll(contextInfo);
     bll.CallAccessControl();
     bll.DoRepairBack(repairstock, lstreasoncode, jointtype, signature);
     GC.Collect();
 }
Example #4
0
 public void DoRepaireAdjust(ContextInfo contextInfo, string repsysid, string reasoncode, int qty)
 {
     contextInfo.Action = MES_ActionType.Insert;
     RepairStockBll bll = new RepairStockBll(contextInfo);
     bll.CallAccessControl();
     bll.DoRepaireAdjust(repsysid,reasoncode, qty);
     GC.Collect();
 }
Example #5
0
 public void DoInsertRepair(ContextInfo contextInfo, tinprepairhis repairhis, List<tinprepairfail> lstreasoncode)
 {
     contextInfo.Action = MES_ActionType.Insert;
     RepairStockBll bll = new RepairStockBll(contextInfo);
     bll.CallAccessControl();
     bll.DoInsertRepair(repairhis, lstreasoncode);
     GC.Collect();
 }