using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace HStation.WinFrmUI
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public class SelectXhsProjectTransferFileViewModel
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public SelectXhsProjectTransferFileViewModel() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public SelectXhsProjectTransferFileViewModel(HStation.Vmo.TransferRevitFileVmo rhs)
|
{
|
this.ID = rhs.ID;
|
this.FileName = rhs.FileName;
|
this.FileCode = rhs.FileCode;
|
this.FileSize = Math.Round(rhs.FileSize / 1024f / 1024f, 1).ToString() + "Mb";
|
this.FileSuffix = rhs.FileSuffix;
|
this.UploadTime = rhs.UploadTime.ToStandardString();
|
this.UploadUserName = rhs.UploadUserName;
|
this.StorageHouse = rhs.StorageHouse;
|
this.StorageCode = rhs.StorageCode;
|
this.Description = rhs.Description;
|
this.Vmo = rhs;
|
}
|
|
/// <summary>
|
/// ID
|
/// </summary>
|
[DisplayName("ID")]
|
public long ID { get; set; }
|
|
/// <summary>
|
/// 文件名称
|
/// </summary>
|
[DisplayName("文件名称")]
|
public string FileName { get; set; }
|
|
/// <summary>
|
/// 文件编码
|
/// </summary>
|
[DisplayName("文件编码")]
|
public string FileCode { get; set; }
|
|
/// <summary>
|
/// 文件大小
|
/// </summary>
|
[DisplayName("文件大小")]
|
public string FileSize { get; set; }
|
|
/// <summary>
|
/// 文件后缀
|
/// </summary>
|
[DisplayName("文件后缀")]
|
public string FileSuffix { get; set; }
|
|
/// <summary>
|
/// 上传时间
|
/// </summary>
|
[DisplayName("上传时间")]
|
public string UploadTime { get; set; }
|
|
/// <summary>
|
/// 上传用户
|
/// </summary>
|
[DisplayName("上传用户")]
|
public string UploadUserName { get; set; }
|
|
/// <summary>
|
/// 存储仓库
|
/// </summary>
|
[DisplayName("存储仓库")]
|
public string StorageHouse { get; set; }
|
|
/// <summary>
|
/// 存储编码
|
/// </summary>
|
[DisplayName("存储编码")]
|
public string StorageCode { get; set; }
|
|
/// <summary>
|
/// 说明
|
/// </summary>
|
[DisplayName("说明")]
|
public string Description { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public HStation.Vmo.TransferRevitFileVmo Vmo { get; set; }
|
}
|
}
|