zhangyuekai
2024-08-09 68517aa090c54df2e0999bd60af808419ca25cf7
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
using HStation.RevitDev.Model.AttributeClass;
using HStation.RevitDev.Model.ModelEnum;using System.Collections.Generic;
using System.Linq;
 
namespace HStation.Model
{
    /// <summary>
    /// 阀门
    /// </summary>
    [ExportType(ExportType.EFT_Valve)]
    public class RevitValve : RevitParter, IRevitValve
    {
        /// <summary>
        /// 上游节点
        /// </summary>
        [Parameter("上游节点编码")]
        public string StartCode { get; set; }
 
        /// <summary>
        /// 下游节点
        /// </summary>
        [Parameter("下游节点编码")]
        public string EndCode { get; set; }
 
        /// <summary>
        /// 阀门状态
        /// </summary>
        [Parameter("阀门状态")]
        public string LinkStatus { get; set; }
 
        /// <summary>
        /// 上游标高
        /// </summary>
        [Parameter("上游标高")]
        public double StartElev { get; set; }
 
        /// <summary>
        /// 下游标高
        /// </summary>
        [Parameter("下游标高")]
        public double EndElev { get; set; }
 
        /// <summary>
        /// 直径
        /// </summary>
        [Parameter("直径")]
        public double Diameter { get; set; }
 
        /// <summary>
        /// 局部阻力系数
        /// </summary>
        [Parameter("局部阻力系数")]
        public double MinorLoss { get; set; }
 
        /// <summary>
        /// 阀门类型
        /// </summary>
        [Parameter("阀门类型")]
        public string ValveType { get; set; }
 
        /// <summary>
        /// 阀门设置
        /// </summary>
        [Parameter("阀门设置")]
        public string ValveSetting { get; set; }
    }
}