lixiaojun
2024-12-17 a2ad15911dcde2d45cd546d5b8d7fb791f7afafd
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
namespace Yw.WinFrmUI
{
    /// <summary>
    /// 过渡件匹配ViewModel
    /// </summary>
    public class HydroTranslationMatchingViewModel
    {
        /// <summary>
        ///
        /// </summary>
        public HydroTranslationMatchingViewModel() { }
 
        /// <summary>
        ///
        /// </summary>
        public HydroTranslationMatchingViewModel(Yw.Model.HydroTranslationInfo rhs, Yw.Model.HydroModelInfo hydroInfo)
        {
            this.ID = rhs.ID;
            this.Name = rhs.Name;
            this.Code = rhs.Code;
            this.DbLocked = rhs.DbLocked;
            this.DbId = rhs.DbId;
            this.ModelType = rhs.ModelType;
            this.Material = rhs.Material;
            this.Diameter = rhs.Diameter;
            this.StartDiameter = rhs.StartDiameter;
            this.EndDiameter = rhs.EndDiameter;
            this.Roughness = rhs.Roughness;
            this.MinorLoss = rhs.MinorLoss;
            this.eAlgorithmType = eAlgorithmType.Hazen;
        }
 
        /// <summary>
        ///
        /// </summary>
        public HydroTranslationMatchingViewModel(HydroTranslationViewModel rhs) : this(rhs.Vmo, rhs.HydroInfo) { }
 
        /// <summary>
        /// ID
        /// </summary>
        public long ID { get; set; }
 
        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }
 
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
 
        /// <summary>
        /// Db锁定
        /// </summary>
        public bool DbLocked { get; set; }
 
        /// <summary>
        ///DbId
        /// </summary>
        public string DbId { get; set; }
 
        /// <summary>
        /// 型号
        /// </summary>
        public string ModelType { get; set; }
 
        /// <summary>
        /// 材质
        /// </summary>
        public string Material { get; set; }
 
        /// <summary>
        /// 直径
        /// </summary>
        public double Diameter { get; set; }
 
        /// <summary>
        /// 上游直径
        /// </summary>
        public double StartDiameter { get; set; }
 
        /// <summary>
        /// 下游直径
        /// </summary>
        public double EndDiameter { get; set; }
 
        /// <summary>
        /// 粗糙系数
        /// </summary>
        public double Roughness { get; set; }
 
        /// <summary>
        /// 损失系数
        /// </summary>
        public double MinorLoss { get; set; }
 
        /// <summary>
        /// 算法类型
        /// </summary>
        public eAlgorithmType eAlgorithmType { get; set; }
 
        /// <summary>
        /// 匹配型号
        /// </summary>
        public string MatchingModelType { get; set; }
 
        /// <summary>
        /// 匹配Dbid
        /// </summary>
        public string MatchingDbId { get; set; }
 
        /// <summary>
        /// 匹配材质
        /// </summary>
        public string MatchingMaterial { get; set; }
 
        /// <summary>
        /// 匹配直径
        /// </summary>
        public double? MatchingDiameter { get; set; }
 
        /// <summary>
        /// 匹配上游直径
        /// </summary>
        public double? MatchingStartDiameter { get; set; }
 
        /// <summary>
        /// 匹配下游直径
        /// </summary>
        public double? MatchingEndDiameter { get; set; }
 
        /// <summary>
        /// 匹配粗糙系数
        /// </summary>
        public double? MatchingRoughness { get; set; }
 
        /// <summary>
        /// 匹配损失系数
        /// </summary>
        public double? MatchingMinorLoss { get; set; }
 
 
    }
}