/// <summary> /// Pause the task for interval defined in configuration. /// </summary> private void Wait() { if (IsEnabled) { Thread.Sleep(CommunicationIntervalRules.GetExecutionInterval(this.WaitingPackages, Manager.ExecutorConfiguration.ExecutionInterval)); } }
/// <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)); } }