コード例 #1
0
 /// <summary>
 /// Pause the task for interval defined in configuration.
 /// </summary>
 private void Wait()
 {
     if (IsEnabled)
     {
         Thread.Sleep(CommunicationIntervalRules.GetExecutionInterval(this.WaitingPackages, Manager.ExecutorConfiguration.ExecutionInterval));
     }
 }
コード例 #2
0
 /// <summary>
 /// Pause the task for interval defined in configuration.
 /// </summary>
 private void Wait()
 {
     if (IsEnabled == true)
     {
         Thread.Sleep(CommunicationIntervalRules.GetSendInterval(this.WaitingPackages, Manager.TransmitterConfiguration.SendInterval));
     }
 }