Beispiel #1
0
 public static void OnGroundCourseUpdated(esriGpsGroundCourse pGroundCourse)
 {
     if (GroundCourseUpdated != null)
     {
         GroundCourseUpdated(pGroundCourse);
     }
 }
 private void GPSManager_GroundCourseUpdated(esriGpsGroundCourse pGroundCourse)
 {
     if (pGroundCourse.headingValid == 1)
     {
         this.lblHeading.Text = pGroundCourse.Heading.ToString("0.###");
     }
     else
     {
         this.lblHeading.Text = "N/A";
     }
     if (pGroundCourse.speedValid == 1)
     {
         this.lblSpeed.Text = pGroundCourse.speed.ToString("0.###");
     }
     else
     {
         this.lblSpeed.Text = "N/A";
     }
 }
Beispiel #3
0
 private static void m_RealTimeFeedEvents_Event_GroundCourseUpdated(ref esriGpsGroundCourse pGroundCourse)
 {
     OnGroundCourseUpdated(pGroundCourse);
 }