Пример #1
0
 public void MainWork()
 {
     if (ERP定时任务.GetConfig("INVMBBoxSize", "Work"))
     {
         workFlag = true;
         log("Work Start!");
         try
         {
             BoxSizeSelect();
         }
         catch (Exception e)
         {
             log("Work Error.\n\r\t" + e.ToString());
         }
         finally
         {
             log("Work Finished!");
             workFlag = false;
         }
     }
 }
Пример #2
0
 public void MainWork()
 {
     if (ERP定时任务.GetConfig("SCPLAN_Snapshot", "Work"))
     {
         workFlag = true;
         log("Work Start!");
         try
         {
             Work();
         }
         catch (Exception e)
         {
             log("Work Error./n" + e.ToString());
         }
         finally
         {
             log("Work Finished!");
             workFlag = false;
         }
     }
 }