|
@@ -124,8 +124,9 @@ namespace SAGA.MBI.WinView.Upload
|
|
|
{
|
|
|
try
|
|
|
{
|
|
|
- ProgressOperation.Show("模型文件检查");
|
|
|
+ LoadingOperation.Show("模型文件检查",6);
|
|
|
|
|
|
+ LoadingOperation.Update();
|
|
|
MFloor floor = ufloor.MFloor;
|
|
|
if (floor == null) continue;
|
|
|
i++;
|
|
@@ -138,11 +139,10 @@ namespace SAGA.MBI.WinView.Upload
|
|
|
MBIModelInfoManager.SyncPlatformToRevit(document);
|
|
|
#endregion
|
|
|
|
|
|
-
|
|
|
#region 上传数据
|
|
|
DalUploadFloor.UploadDataOperate(floor);
|
|
|
#endregion
|
|
|
- ProgressOperation.Close();
|
|
|
+ LoadingOperation.Close();
|
|
|
#region 上传文件及上传完成后续动作
|
|
|
|
|
|
if (FloorFileOperate.UploadFile(floor.ToString(), floor.FullPath, count, i))
|
|
@@ -162,13 +162,13 @@ namespace SAGA.MBI.WinView.Upload
|
|
|
}
|
|
|
|
|
|
}
|
|
|
- ProgressOperation.Show("数据处理");
|
|
|
+ LoadingOperation.Show("数据处理", useCalcContexts.Count);
|
|
|
#region 上传底图文件
|
|
|
Log4Net.Debug($"开始楼层底图上传");
|
|
|
MBIModelInfoUpload.UpdateMbiInfo(useCalcContexts);
|
|
|
Log4Net.Debug($"结束楼层底图上传");
|
|
|
#endregion
|
|
|
- ProgressOperation.Close();
|
|
|
+ LoadingOperation.Close();
|
|
|
#region 上传完成添加提示信息
|
|
|
//添加提示窗口
|
|
|
UpLoadFileRequest.CloseUploadWindow(failList.Count == 0, false);
|