private List<VGPSHistoryRunInfo> GetHistoryRunInfo(IList<EGPSHistoryInfo> ltHistoryInfo_All)
        {
            List<VGPSHistoryRunInfo> ltHistoryInfo = new List<VGPSHistoryRunInfo>();
            decimal currentMileage = 0;
            for (int i = 0; i < ltHistoryInfo_All.Count; i++)
            {
                var current = ltHistoryInfo_All[i];

                currentMileage += current.Mileage;

                bool isStop = CheckIsStop(current, ltHistoryInfo_All, i);

                if (isStop || CompareSame(current, ltHistoryInfo_All, i))
                {
                    if (i != ltHistoryInfo_All.Count - 1)                //最后一个点加进来
                    {
                        continue;
                    }
                }

                VGPSHistoryRunInfo historyInfo = new VGPSHistoryRunInfo();
                current.Mileage = currentMileage;
                historyInfo.Longitude = current.Longitude;
                historyInfo.Latitude = current.Latitude;

                //historyInfo.EncodeLatLon = arrLatLonParameter[i];
                historyInfo.ReportTime = current.ReportTime.ToString("yyyy-MM-dd HH:mm");
                historyInfo.Speed = current.Speed.ToString() + "公里/小时";
                historyInfo.Direction = current.Direction.ToString();
                historyInfo.Mileage = current.Mileage / 1000;

                ltHistoryInfo.Add(historyInfo);
            }
            return ltHistoryInfo;
        }
        private VGPSHistoryRunInfo ConvertToVGPSHistoryRunInfo(decimal currentMileage, EGPSHistoryInfo current, bool IsNotSurtStop, bool IsStop, TimeSpan stopTime, string stopTimeBegin, string stopTimeEnd)
        {
            VGPSHistoryRunInfo historyInfo = new VGPSHistoryRunInfo();
            current.Mileage = currentMileage;
            historyInfo.Longitude = current.Longitude;
            historyInfo.Latitude = current.Latitude;

            //historyInfo.EncodeLatLon = arrLatLonParameter[i];
            historyInfo.ReportTime = current.ReportTime.ToString("yyyy-MM-dd HH:mm");
            historyInfo.Speed = current.Speed.ToString() + "公里/小时";
            historyInfo.Direction = current.Direction.ToString();
            historyInfo.Mileage = current.Mileage / 1000;
            historyInfo.StarkMileage = current.StarkMileage;
            historyInfo.IsNotSureStop = IsNotSurtStop;
            historyInfo.IsStop = IsStop;
            historyInfo.StopTime = (stopTime.Days * 24 * 60 + stopTime.Hours * 60 + stopTime.Minutes) + "分钟";
            historyInfo.StopTimeBegin = stopTimeBegin;
            historyInfo.StopTimeEnd = stopTimeEnd;
            return historyInfo;
        }