Example #1
0
 /// <summary>
 /// Pauses timer
 /// </summary>
 public void Pause()
 {
     try
     {
         SignalTimer.PauseTimer();
     }
     catch (Exception ex)
     {
         throw new JunctionException("Error pausing timer", ex);
     }
 }
Example #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);
     }
 }