duheng
2024-12-24 b826e3716742abba49ab2a851b943ea8328db66e
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
using HStation.Assets;
 
namespace HStation.WinFrmUI
{
    public class TranslationSingleMatchingViewModel
    {
        public TranslationSingleMatchingViewModel()
        {
        }
 
        public TranslationSingleMatchingViewModel(Vmo.AssetsTranslationMainVmo rhs)
        {
            this.ID = rhs.ID;
            this.Material = rhs.Material;
            this.Caliber = rhs.Diameter;
            this.StartDiameter = rhs.StartDiameter;
            this.EndDiameter = rhs.EndDiameter;
            this.Roughness = rhs.Roughness;
            this.eAlgorithmType = rhs.eAlgorithmType;
            this.ModelType = rhs.Name;
            this.MinorLoss = rhs.MinorLoss;
        }
 
        /// <summary>
        /// ID
        /// </summary>
        [DisplayName("ID")]
        [Browsable(false)]
        public long ID { get; set; }
 
        /// <summary>
        /// 型号名
        /// </summary>
        [DisplayName("型号名")]
        [Browsable(true)]
        public string ModelType { get; set; }
 
        /// <summary>
        /// 材质
        /// </summary>
        [DisplayName("材质")]
        [Browsable(true)]
        public string Material { get; set; }
 
        /// <summary>
        /// 直径
        /// </summary>
        [DisplayName("直径")]
        [Browsable(true)]
        public double? Caliber { get; set; }
 
        /// <summary>
        /// 损失系数
        /// </summary>
        [DisplayName("损失系数")]
        [Browsable(true)]
        public double? MinorLoss { get; set; }
 
        /// <summary>
        /// 直径
        /// </summary>
        [DisplayName("直径")]
        [Browsable(true)]
        public double Diameter { get; set; }
 
        /// <summary>
        /// 上游直径
        /// </summary>
        [DisplayName("上游直径")]
        [Browsable(true)]
        public double StartDiameter { get; set; }
 
        /// <summary>
        /// 下游直径
        /// </summary>
        [DisplayName("下游直径")]
        [Browsable(true)]
        public double EndDiameter { get; set; }
 
        /// <summary>
        /// 粗糙系数
        /// </summary>
        [DisplayName("粗糙系数")]
        [Browsable(true)]
        public double Roughness { get; set; }
 
        /// <summary>
        /// 算法类型
        /// </summary>
        [DisplayName("算法类型")]
        [Browsable(true)]
        public HStation.Assets.eAlgorithmType eAlgorithmType { get; set; }
    }
}