| | |
| | | vm.FileStatus = eFileStatus.UploadSucceed; |
| | | this.bimfaceFileMgrViewModelBindingSource.ResetBindings(false); |
| | | |
| | | var addModel = vm.Adapt<BimfaceFileMgrViewModel, Yw.Dto.AddBimfaceFileInput>(); |
| | | var addModel = vm.Adapt<BimfaceFileMgrViewModel, Yw.Vmo.BimfaceFileVmo>(); |
| | | vm.ID = await _bllBimfaceFile.Value.Insert(addModel); |
| | | if (vm.ID < 1) |
| | | { |
| | |
| | | MessageBoxHelper.ShowInfo("此功能仅适用于上传成功状态的模型文件!"); |
| | | return; |
| | | } |
| | | if (vm.FormatType != eFormatType._3D) |
| | | if (vm.FormatType != eFormatType.d3) |
| | | { |
| | | MessageBoxHelper.ShowInfo("此功能仅适用于3D模型文件!"); |
| | | return; |