public static void OnDgpsInfoUpdated(esriGpsDgpsInfo pNewDGPSInfo) { if (DgpsInfoUpdated != null) { DgpsInfoUpdated(pNewDGPSInfo); } }
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"; } }
private static void m_RealTimeFeedEvents_Event_DgpsInfoUpdated(ref esriGpsDgpsInfo pNewDGPSInfo) { OnDgpsInfoUpdated(pNewDGPSInfo); }