public static void GetRouteInfo(int inMaxTime)
        {
            SRouteInfo RouteInfo = new SRouteInfo();
            int        ret       = CApplicationAPI.GetRouteInfo(out _mySError, out RouteInfo, inMaxTime);

            ushort years;
            byte   months, days, hours, minutes, seconds;

            RouteInfo.GetEstimatedTimeArival(out years, out months, out days, out hours, out minutes, out seconds);

            O("GetRouteInfo returns: " + ret.ToString());
            O("RouteInfo.BoundaryRectangle(lBottom,lLeft,lRight,lTop): " + RouteInfo.BoundaryRectangle.lBottom.ToString()
              + "," + RouteInfo.BoundaryRectangle.lLeft.ToString()
              + "," + RouteInfo.BoundaryRectangle.lRight.ToString()
              + "," + RouteInfo.BoundaryRectangle.lTop.ToString());
            O("RouteInfo.EstimatedTimeArival: " + RouteInfo.EstimatedTimeArival.ToString()
              + ", " + years.ToString()
              + "-" + months.ToString()
              + "-" + days.ToString()
              + ", " + hours.ToString()
              + ":" + minutes.ToString()
              + ":" + seconds.ToString());
            O("RouteInfo.FerriesLength: " + RouteInfo.FerriesLength.ToString());
            O("RouteInfo.MotorwaysLength: " + RouteInfo.MotorwaysLength.ToString());
            O("RouteInfo.RemainingDistance: " + RouteInfo.RemainingDistance.ToString());
            O("RouteInfo.RemaningTime: " + RouteInfo.RemaningTime.ToString());
            O("RouteInfo.Status: " + RouteInfo.Status.ToString());
            O("RouteInfo.TollRoadsLength: " + RouteInfo.TollRoadsLength.ToString());
            O("RouteInfo.TotalDistance: " + RouteInfo.TotalDistance.ToString());
            O("RouteInfo.TotalTime: " + RouteInfo.TotalTime.ToString());
        }
        public static string GetRouteInfoTest(string inItineraryName, int inMaxTime)
        {
            SRouteInfo RouteInfo = new SRouteInfo();
            int        ret       = CApplicationAPI.GetRouteInfo(out _mySError, out RouteInfo, inMaxTime);

            ushort years;
            byte   months, days, hours, minutes, seconds;

            RouteInfo.GetEstimatedTimeArival(out years, out months, out days, out hours, out minutes, out seconds);

            string output = inItineraryName + ";";

            output = output + RouteInfo.TotalDistance.ToString() + ";";
            output = output + RouteInfo.TotalTime.ToString();
            return(output);
        }