public tinpworkorder GetSingleWorkOrder(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; WorkOrderBll bll = new WorkOrderBll(contextInfo); bll.CallAccessControl(); tinpworkorder rs = bll.GetSingleObject<tinpworkorder>(lstParameters); GC.Collect(); return rs; }
public void DoDeleteWorkOrder(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Delete; WorkOrderBll bll = new WorkOrderBll(contextInfo); bll.CallAccessControl(); bll.DoDeleteWorkOrder(lstParameters); GC.Collect(); }
public void DoUpdateWorkOrder(ContextInfo contextInfo, tinpworkorder workorder, List<tinpworkorderdtl> lstDtl) { contextInfo.Action = MES_ActionType.Update; WorkOrderBll bll = new WorkOrderBll(contextInfo); bll.CallAccessControl(); bll.DoUpdateWorkOrder(workorder, lstDtl); GC.Collect(); }
public DataSet GetCustOrderForReceiving(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; WorkOrderBll bll = new WorkOrderBll(contextInfo); bll.CallAccessControl(); DataSet rs = bll.GetCustOrderForReceiving(lstParameters); GC.Collect(); return rs; }
public List<tinpworkorder> GetWorkOrderList(ContextInfo contextInfo, List<MESParameterInfo> lstParameters) { contextInfo.Action = MES_ActionType.Query; WorkOrderBll bll = new WorkOrderBll(contextInfo); bll.CallAccessControl(); List<tinpworkorder> rs = bll.GetSelectedObjects<tinpworkorder>(lstParameters); GC.Collect(); return rs; }