Пример #1
0
 public void DoDeleteBillCode(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Delete;
     BillCodeBll bll = new BillCodeBll(contextInfo);
     bll.CallAccessControl();
     bll.DoDelete<tsysbillcode>(lstParameters);
     GC.Collect();
 }
Пример #2
0
 public void DoInsertBillCode(ContextInfo contextInfo, tsysbillcode billCode)
 {
     contextInfo.Action = MES_ActionType.Insert;
     BillCodeBll bll = new BillCodeBll(contextInfo);
     bll.CallAccessControl();
     bll.DoInsert(billCode);
     GC.Collect();
 }
Пример #3
0
 public void UnlockBill(ContextInfo contextInfo, string bcrid, string lockRefId)
 {
     contextInfo.Action = MES_ActionType.Delete;
     BillCodeBll bll = new BillCodeBll(contextInfo);
     bll.CallAccessControl();
     bll.UnlockBill(bcrid, lockRefId);
     GC.Collect();
 }
Пример #4
0
 public string GetSingleBillNo(ContextInfo contextInfo, string bcrid, string lockRefId,
     string baseValue, List<MESParameterInfo> lstVariablesParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     BillCodeBll bll = new BillCodeBll(contextInfo);
     bll.CallAccessControl();
     string rs = bll.GetSingleBillNo(bcrid, lockRefId, baseValue, lstVariablesParameters);
     GC.Collect();
     return rs;
 }
Пример #5
0
 public tsysbillcode GetSingleBillCode(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     BillCodeBll bll = new BillCodeBll(contextInfo);
     bll.CallAccessControl();
     tsysbillcode  rs = bll.GetSingleObject<tsysbillcode>(lstParameters);
     GC.Collect();
     return rs;
 }
Пример #6
0
 public DataSet GetBillCodeRecords(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     BillCodeBll bll = new BillCodeBll(contextInfo);
     bll.CallAccessControl();
     DataSet rs = bll.GetSelectedRecords<tsysbillcode>(lstParameters);
     GC.Collect();
     return rs;
 }