コード例 #1
0
 private void _timer_Elapsed(object sender, ElapsedEventArgs e)
 {
     try
     {
         if (!_IsDoingSomething)
         {
             _IsDoingSomething = true;
             ProcessDigitalOrders.ProcessOrder();
             _IsDoingSomething = false;
         }
     }
     catch (Exception ex)
     {
         _IsDoingSomething = false;
         ProcessDigitalOrders.InsertLog(string.Format("\n\nError : {0}\n\t{1}", ex.Message, ex.StackTrace));
     }
 }
コード例 #2
0
 private void InitFirstTrigger()
 {
     _IsDoingSomething = true;
     ProcessDigitalOrders.ProcessOrder();
     _IsDoingSomething = false;
 }