public NBatchInfo DownloadBatch(NQueryBatchInfo queryinfo) { NResultInfo resultInfo = new NResultInfo(); this._downloadresult = null; string url = HttpUtil.GetHttpGetBatchURL(queryinfo.BatchNO); this.ReportMsg(ENetTransferStatus.Start, queryinfo.BatchNO, "", 0.0, 0.0); try { NBatchInfo batchInfo = HttpClientManager.GetBatch(queryinfo.BatchNO); //HTTP请求获取批次信息 this._downloadresult = batchInfo; this.ReportMsg(ENetTransferStatus.Success, queryinfo.BatchNO, "", 0.0, 0.0); } catch (Exception ex) { this.ReportMsg(ENetTransferStatus.Error, queryinfo.BatchNO, ExceptionHelper.GetFirstException(ex).Message, 0.0, 0.0); } return(null); }