zhangyk-c
2024-07-16 e3cf9cc38f6415ceffc4e8e1f733a68472a46f35
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
namespace HStation.Model
{
    /// <summary>
    /// 阀门
    /// </summary>
    public class RevitValve : RevitParter, IRevitValve
    {
        /// <summary>
        /// 
        /// </summary>
        public RevitValve() { }
 
        /// <summary>
        /// 
        /// </summary>
        public RevitValve(RevitValve rhs) : base(rhs)
        {
            this.ModelType = rhs.ModelType;
            this.StartCode = rhs.StartCode;
            this.EndCode = rhs.EndCode;
            this.Diameter = rhs.Diameter;
            this.MinorLoss = rhs.MinorLoss;
            this.ValveType = rhs.ValveType;
            this.ValveSetting = rhs.ValveSetting;
            this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList();
            this.BoundingBox = rhs.BoundingBox;
        }
 
        /// <summary>
        /// 型号
        /// </summary>
        public string ModelType { get; set; }
 
        /// <summary>
        /// 上游节点
        /// </summary>
        public string StartCode { get; set; }
 
        /// <summary>
        /// 下游节点
        /// </summary>
        public string EndCode { get; set; }
 
        /// <summary>
        /// 直径
        /// </summary>
        public double Diameter { get; set; }
 
        /// <summary>
        /// 局部阻力系数
        /// </summary>
        public double MinorLoss { get; set; }
 
        /// <summary>
        /// 阀门类型
        /// </summary>
        public string ValveType { get; set; }
 
        /// <summary>
        /// 阀门设置
        /// </summary>
        public string ValveSetting { get; set; }
 
        /// <summary>
        /// 属性值列表
        /// </summary>
        public List<RevitPropValue> PropValueList { get; set; }
 
        /// <summary>
        /// 位置
        /// </summary>
        public RevitBoundingBox BoundingBox { get; set; }
 
    }
}