lixiaojun
2024-11-04 3effbd15ec04bbc39514c6904fa71d00631c96eb
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 Yw.WinFrmUI
{
    /// <summary>
    /// 
    /// </summary>
    public class SetHydroGradingModelViewModel
    {
        /// <summary>
        /// 
        /// </summary>
        public SetHydroGradingModelViewModel() { }
 
        /// <summary>
        /// 
        /// </summary>
        public SetHydroGradingModelViewModel(Yw.Vmo.HydroGradingVmo rhs)
        {
            this.ID = rhs.ID;
            this.ModelID = rhs.ModelID;
            this.Catalog = rhs.Catalog;
            this.PropName = rhs.PropName;
            this.SetValue = rhs.SetValue;
            this.MinValue = rhs.MinValue;
            this.MaxValue = rhs.MaxValue;
            this.Color = ColorTranslator.FromHtml(rhs.Color);
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
        }
 
        /// <summary>
        /// id
        /// </summary>
        [DisplayName("ID")]
        public long ID { get; set; }
 
        /// <summary>
        /// 模型id
        /// </summary>
        [DisplayName("模型ID")]
        public long ModelID { get; set; }
 
        /// <summary>
        /// 分类
        /// </summary>
        [DisplayName("分类")]
        public string Catalog { get; set; }
 
        /// <summary>
        /// 属性
        /// </summary>
        [DisplayName("属性")]
        public string PropName { get; set; }
 
        /// <summary>
        /// 属性值
        /// </summary>
        [DisplayName("属性值")]
        public string SetValue { get; set; }
 
        /// <summary>
        /// 下限
        /// </summary>
        [DisplayName("下限")]
        public double MinValue { get; set; }
 
        /// <summary>
        /// 上限
        /// </summary>
        [DisplayName("上限")]
        public double MaxValue { get; set; }
 
        /// <summary>
        /// 颜色
        /// </summary>
        [DisplayName("颜色")]
        public Color Color { get; set; }
 
        /// <summary>
        /// 排序码
        /// </summary>
        [DisplayName("排序码")]
        public int SortCode { get; set; }
 
        /// <summary>
        /// 说明
        /// </summary>
        [DisplayName("说明")]
        public string Description { get; set; }
 
 
    }
}