lixiaojun
2024-10-17 4cb1f00f84d160f97afd0fb86cf600e1be667dd5
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
namespace Yw.WinFrmUI
{
    /// <summary>
    /// 
    /// </summary>
    public class HydroPipeViewModel : HydroLinkViewModel
    {
        /// <summary>
        /// 
        /// </summary>
        public HydroPipeViewModel() : base() { }
 
        /// <summary>
        /// 
        /// </summary>
        public HydroPipeViewModel(Yw.Model.HydroPipeInfo rhs) : base(rhs)
        {
            this.Material = rhs.Material;
            this.Diameter = rhs.Diameter;
            this.Length = rhs.Length;
            this.Roughness = rhs.Roughness;
            this.MinorLoss = rhs.MinorLoss;
 
            this.Vmo = rhs;
        }
 
        /// <summary>
        /// 
        /// </summary>
        public HydroPipeViewModel(Yw.Model.HydroPipeInfo rhs, Yw.WinFrmUI.HydroCalcuLinkResult calcuResult) : base(rhs, calcuResult)
        {
            this.Material = rhs.Material;
            this.Diameter = rhs.Diameter;
            this.Length = rhs.Length;
            this.Roughness = rhs.Roughness;
            this.MinorLoss = rhs.MinorLoss;
 
            this.Vmo = rhs;
        }
 
        /// <summary>
        /// 管道状态
        /// </summary>
        [DisplayName("管道状态")]
        public override string LinkStatus { get; set; }
 
        /// <summary>
        /// 材质
        /// </summary>
        [DisplayName("材质")]
        public string Material { get; set; }
 
        /// <summary>
        /// 直径(mm)
        /// </summary>
        [DisplayName("直径(mm)")]
        public double Diameter { get; set; }
 
        /// <summary>
        /// 长度(m)
        /// </summary>
        [DisplayName("长度(m)")]
        public double Length { get; set; }
 
        /// <summary>
        /// 粗糙系数
        /// </summary>
        [DisplayName("粗糙系数")]
        public double Roughness { get; set; }
 
        /// <summary>
        /// 局阻系数
        /// </summary>
        [DisplayName("局阻系数")]
        public double MinorLoss { get; set; }
 
        /// <summary>
        /// 
        /// </summary>
        public new Yw.Model.HydroPipeInfo Vmo { get; set; }
 
    }
}