lixiaojun
2024-10-12 af59ded50735348a386110fc56d5b9638b7e411f
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
namespace HStation.WinFrmUI
{
    /// <summary>
    /// 
    /// </summary>
    public class XhsProjectSimulationSearchViewModel
    {
        /// <summary>
        /// 
        /// </summary>
        public XhsProjectSimulationSearchViewModel() { }
 
        /// <summary>
        /// 
        /// </summary>
        public XhsProjectSimulationSearchViewModel(Yw.Model.HydroParterInfo rhs)
        {
            this.ID = rhs.ID;
            this.Catalog = Yw.WinFrmUI.HydroParterCatalogHelper.GetCatalogName(rhs.Catalog);
            this.Name = rhs.Name;
            this.Code = rhs.Code;
            this.ModelType = rhs.ModelType;
            this.HasDbId = !string.IsNullOrEmpty(rhs.DbId);
            this.DbLocked = rhs.DbLocked;
            this.FlagsString = Yw.Untity.FlagsHelper.ToString(rhs.Flags);
            this.Description = rhs.Description;
            this.Vmo = rhs;
        }
 
        /// <summary>
        /// id
        /// </summary>
        [Display(Name = "ID")]
        [Browsable(false)]
        public long ID { get; set; }
 
        /// <summary>
        /// 分类
        /// </summary>
        [Display(Name = "分类")]
        public string Catalog { get; set; }
 
        /// <summary>
        /// 名称
        /// </summary>
        [Display(Name = "名称")]
        public string Name { get; set; }
 
        /// <summary>
        /// 编码
        /// </summary>
        [Display(Name = "编码")]
        public string Code { get; set; }
 
        /// <summary>
        /// 型号
        /// </summary>
        [Display(Name = "型号")]
        public string ModelType { get; set; }
 
        /// <summary>
        /// 匹配
        /// </summary>
        [Display(Name = "匹配")]
        public bool HasDbId { get; set; }
 
        /// <summary>
        /// 锁定
        /// </summary>
        [Display(Name = "锁定")]
        public bool DbLocked { get; set; }
 
        /// <summary>
        /// 标签
        /// </summary>
        [Display(Name = "标签")]
        public string FlagsString { get; set; }
 
        /// <summary>
        /// 说明
        /// </summary>
        [Display(Name = "说明")]
        public string Description { get; set; }
 
        /// <summary>
        /// 
        /// </summary>
        public Yw.Model.HydroParterInfo Vmo { get; set; }
 
 
    }
}