Beispiel #1
0
 private void OnTimerTick(object sender, EventArgs e)
 {
     if (_surveyPointProvider.HasSurveyPoint())
     {
         var surveyPoint = GetSurveyPoint();
         if (surveyPoint == null)
         {
             return;
         }
         if (_storePoints)
         {
             ++TotalPointsCount;
             surveyPoint.Seqno = TotalPointsCount;
             SurveyPoints.Add(surveyPoint);
         }
         OnSurveyPointReceived();
     }
 }