Exemple #1
0
 protected virtual void OnLevel1TimerEvent(Level1TimerEventArgs e)
 {
     if (Level1TimerEvent != null)
     {
         Level1TimerEvent(this, e);
     }
 }
 /// <summary>
 /// Set the interal clock time.
 /// </summary>
 private void OnLevel1TimerEvent(object sender, Level1TimerEventArgs e)
 {
     //If there was a bad tick and the time didn't set right, skip setting it here and just use our millisecond timer to set the time from last time it was set.
     if (e.DateTimeStamp != DateTime.MinValue)
     {
         FeedTime = e.DateTimeStamp;
     }
 }