public void UploadBatch(NBatchInfo batch)
        {
            NResultInfo nResultInfo = new NResultInfo();

            nResultInfo.Status = EResultStatus.eSuccess;
            NResultInfo result;

            try
            {
                string transMode = AppContext.GetInstance().Config.GetConfigParamValue("NetSetting", "TransMode");
                //batch.TransMode = (ETransMode)Enum.Parse(typeof(ETransMode), transMode);
                if (transMode.Equals(ConstString.TRANSMODE_FULL))
                {
                    HttpClientManager.FullUpload(batch);   //完全方式提交
                }
                else if (transMode.Equals(ConstString.TRANSMODE_BROKE))
                {
                    HttpClientManager.BroekUpload(batch);  //断点方式提交
                }
                this.ReportMsg(ENetTransferStatus.Success, batch.BatchNO, "", 0.0, 0.0);
            }
            //catch (WebException ex)
            //{
            //	this.ReportMsg(ENetTransferStatus.Error, batch.BatchNO, ExceptionHelper.GetFirstException(ex).Message, 0.0, 0.0);
            //}
            catch (Exception e)
            {
                this.ReportMsg(ENetTransferStatus.Error, batch.BatchNO, ExceptionHelper.GetFirstException(e).Message, 0.0, 0.0);
            }
            //this._uploadresult = nResultInfo;
            //result = nResultInfo;
            //return result;
        }