Exemple #1
0
        /// <summary>
        /// 暂停
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public WebApiResult <string> Any(TaskStop request)
        {
            TaskService service = new TaskService();

            return(service.Pause <BaiduMapTileDownloadRequest>(request));
        }
Exemple #2
0
        /// <summary>
        /// 查询进度
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        public WebApiResult <string> Any(ScheduleDataRequest request)
        {
            TaskService service = new TaskService();

            return(service.GetSchedule(request));
        }