Exemple #1
0
 /// <summary>
 /// Pauses timer
 /// </summary>
 public void Pause()
 {
     try
     {
         SignalTimer.PauseTimer();
     }
     catch (Exception ex)
     {
         throw new JunctionException("Error pausing timer", ex);
     }
 }
Exemple #2
0
 /// <summary>
 /// Starts the timer
 /// </summary>
 public void Start()
 {
     try
     {
         SignalTimer.Start(_currentState.IntervalTime);
     }
     catch (Exception ex)
     {
         throw new JunctionException("Error starting timer", ex);
     }
 }