lixiaojun
2024-10-26 dd4da9a651330fabe210618581299ac3536bda2f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
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; }
    }
}