public static void GetActualGpsPosition(bool inSatellitesInfo, int inMaxTime)
        {
            SGpsPosition gpos = new SGpsPosition();
            int          ret  = CApplicationAPI.GetActualGpsPosition(out _mySError, out gpos, inSatellitesInfo, inMaxTime);

            O("GetActualGpsPosition returns: " + ret.ToString());
            //O("Altitude: " + gpos.Altitude.ToString());
            O("Course: " + gpos.Course.ToString());
            //O("Date: " + gpos.Date.ToString());
            //O("FromPointOffset: " + gpos.FromPointOffset.ToString());
            O("HDoP: " + gpos.HDoP.ToString());
            O("Latitude: " + gpos.Latitude.ToString());
            O("Longitude: " + gpos.Longitude.ToString());
            //O("MapIso: " + gpos.MapIso.ToString());
            O("RealCourse: " + gpos.RealCourse.ToString());
            O("RoadOffset: " + gpos.RoadOffset.ToString());
            O("Satellites:" + gpos.Satellites.ToString());
            //for (int i = 0; i < gpos.Satellites; i++ )
            //    O(i.ToString() + ". sat: "
            //        + gpos.satellitesInfo[i].Azimuth.ToString() + ", "
            //        + gpos.satellitesInfo[i].Elevation.ToString() + ", "
            //        + gpos.satellitesInfo[i].Quality.ToString() + ", "
            //        + gpos.satellitesInfo[i].SateliteId.ToString() + ", "
            //        + gpos.satellitesInfo[i].UsedForFix.ToString());
            O("Speed: " + gpos.Speed.ToString());
            //O("Time: " + gpos.Time.ToString());
            //O("ToPointOffset: " + gpos.ToPointOffset.ToString());
        }
 public static void GetActualGpsPositionJson(bool inSatellitesInfo, out string strJson, int inMaxTime)
 {
     int ret = CApplicationAPI.GetActualGpsPosition(out _mySError, out strJson, inSatellitesInfo, inMaxTime);
 }