예제 #1
0
        public void DoDeleteSystemConfig(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
        {
            contextInfo.Action = MES_ActionType.Delete;
            SystemConfigBll bll = new SystemConfigBll(contextInfo);
            bll.CallAccessControl();
            bll.DoDelete<tsyssystemconfig>(lstParameters);

            Parameter.CURRENT_SYSTEM_CONFIG = null;

            GC.Collect();
        }
예제 #2
0
 public List<tsyssystemconfig> GetSystemConfigList(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     SystemConfigBll bll = new SystemConfigBll(contextInfo);
     bll.CallAccessControl();
     List<tsyssystemconfig>  rs =  bll.GetSelectedObjects<tsyssystemconfig>(lstParameters);
     GC.Collect();
     return rs;
 }
예제 #3
0
 public DataSet GetSystemConfigRecords(ContextInfo contextInfo, List<MESParameterInfo> lstParameters)
 {
     contextInfo.Action = MES_ActionType.Query;
     SystemConfigBll bll = new SystemConfigBll(contextInfo);
     bll.CallAccessControl();
     DataSet rs = bll.GetSelectedRecords<tsyssystemconfig>(lstParameters);
     GC.Collect();
     return rs;
 }
예제 #4
0
        public void DoUpdateSystemConfig(ContextInfo contextInfo, tsyssystemconfig systemConfig)
        {
            contextInfo.Action = MES_ActionType.Update;
            SystemConfigBll bll = new SystemConfigBll(contextInfo);
            bll.CallAccessControl();
            bll.DoUpdate(systemConfig);

            Parameter.CURRENT_SYSTEM_CONFIG = null;

            GC.Collect();
        }