Пример #1
0
 public static void OnDgpsInfoUpdated(esriGpsDgpsInfo pNewDGPSInfo)
 {
     if (DgpsInfoUpdated != null)
     {
         DgpsInfoUpdated(pNewDGPSInfo);
     }
 }
Пример #2
0
 private void GPSManager_DgpsInfoUpdated(esriGpsDgpsInfo pNewDGPSInfo)
 {
     if (pNewDGPSInfo.ageValid == 1)
     {
         this.lblAge.Text = pNewDGPSInfo.age.ToString("0.###");
     }
     else
     {
         this.lblAge.Text = "N/A";
     }
     if (pNewDGPSInfo.idValid == 1)
     {
         this.lblStateID.Text = pNewDGPSInfo.stationID.ToString();
     }
     else
     {
         this.lblStateID.Text = "N/A";
     }
     if (GPSManager.RealTimeFeed is IGpsFeed)
     {
         if (pNewDGPSInfo.idValid == 1)
         {
             this.lblQ.Text = "差分GPS";
         }
         else
         {
             this.lblQ.Text = "单点定位";
         }
     }
     else
     {
         this.lblQ.Text = "N/A";
     }
 }
Пример #3
0
 private static void m_RealTimeFeedEvents_Event_DgpsInfoUpdated(ref esriGpsDgpsInfo pNewDGPSInfo)
 {
     OnDgpsInfoUpdated(pNewDGPSInfo);
 }