yangyin
2024-08-20 98e49c0dd42840a094837f7acae532bc237a719a
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
namespace HStation.Model
{
    /// <summary>
    /// 模型信息
    /// </summary>
    public partial class RevitModel
    {
        /// <summary>
        /// 
        /// </summary>
        public RevitModel()
        {
            this.Reservoirs = new List<RevitReservoir>();
            this.Tanks = new List<RevitTank>();
            this.Waterboxs = new List<RevitWaterbox>();
            this.Junctions = new List<RevitJunction>();
            this.Nozzles = new List<RevitNozzle>();
            this.Hydrants = new List<RevitHydrant>();
            this.Meters = new List<RevitMeter>();
            this.Flowmeters = new List<RevitFlowmeter>();
            this.Pressmeters = new List<RevitPressmeter>();
            this.Elbows = new List<RevitElbow>();
            this.Threelinks = new List<RevitThreelink>();
            this.Fourlinks = new List<RevitFourlink>();
            this.Bluntheads = new List<RevitBlunthead>();
 
            this.Pumps = new List<RevitPump>();
            this.Valves = new List<RevitValve>();
            this.Pipes = new List<RevitPipe>();
            this.Translations = new List<RevitTranslation>();
            this.Exchangers = new List<RevitExchanger>();
 
            this.Decorators = new List<RevitDecorator>();
        }
 
        /// <summary>
        /// 
        /// </summary>
        public RevitModel(RevitModel rhs)
        {
            this.Name = rhs.Name;
            this.Description = rhs.Description;
 
            this.Reservoirs = rhs.Reservoirs;
            this.Tanks = rhs.Tanks;
            this.Waterboxs = rhs.Waterboxs;
            this.Junctions = rhs.Junctions;
            this.Nozzles = rhs.Nozzles;
            this.Hydrants = rhs.Hydrants;
            this.Meters = rhs.Meters;
            this.Flowmeters = rhs.Flowmeters;
            this.Pressmeters = rhs.Pressmeters;
            this.Elbows = rhs.Elbows;
            this.Threelinks = rhs.Threelinks;
            this.Fourlinks = rhs.Fourlinks;
            this.Bluntheads = rhs.Bluntheads;
 
            this.Pumps = rhs.Pumps;
            this.Valves = rhs.Valves;
            this.Pipes = rhs.Pipes;
            this.Translations = rhs.Translations;
            this.Exchangers = rhs.Exchangers;
 
            this.Decorators = rhs.Decorators;
        }
 
 
        #region 基础信息
 
        /// <summary>
        /// 名称
        /// </summary>    
        public string Name { get; set; }
 
        /// <summary>
        /// 说明
        /// </summary>    
        public string Description { get; set; }
 
        #endregion
 
        #region Node
 
        /// <summary>
        /// 水库列表
        /// </summary>
        public List<RevitReservoir> Reservoirs { get; set; }
 
        /// <summary>
        /// 水池列表
        /// </summary>
        public List<RevitTank> Tanks { get; set; }
 
        /// <summary>
        /// 水箱列表
        /// </summary>
        public List<RevitWaterbox> Waterboxs { get; set; }
 
        /// <summary>
        /// 节点列表
        /// </summary>
        public List<RevitJunction> Junctions { get; set; }
 
        /// <summary>
        /// 喷嘴列表
        /// </summary>
        public List<RevitNozzle> Nozzles { get; set; }
 
        /// <summary>
        /// 消火栓列表
        /// </summary>
        public List<RevitHydrant> Hydrants { get; set; }
 
        /// <summary>
        /// 弯头列表
        /// </summary>
        public List<RevitElbow> Elbows { get; set; }
 
        /// <summary>
        /// 三通列表
        /// </summary>
        public List<RevitThreelink> Threelinks { get; set; }
 
        /// <summary>
        /// 四通列表
        /// </summary>
        public List<RevitFourlink> Fourlinks { get; set; }
 
        /// <summary>
        /// 闷头列表
        /// </summary>
        public List<RevitBlunthead> Bluntheads { get; set; }
 
        /// <summary>
        /// 水表
        /// </summary>
        public List<RevitMeter> Meters { get; set; }
 
        /// <summary>
        /// 流量计列表
        /// </summary>
        public List<RevitFlowmeter> Flowmeters { get; set; }
 
        /// <summary>
        /// 压力表列表
        /// </summary>
        public List<RevitPressmeter> Pressmeters { get; set; }
 
 
        #endregion
 
        #region Link
 
        /// <summary>
        /// 水泵列表
        /// </summary>
        public List<RevitPump> Pumps { get; set; }
 
        /// <summary>
        /// 阀门列表
        /// </summary>
        public List<RevitValve> Valves { get; set; }
 
        /// <summary>
        /// 管道列表
        /// </summary>
        public List<RevitPipe> Pipes { get; set; }
 
        /// <summary>
        /// 过渡件列表
        /// </summary>
        public List<RevitTranslation> Translations { get; set; }
 
        /// <summary>
        /// 换热器列表
        /// </summary>
        public List<RevitExchanger> Exchangers { get; set; }
 
        #endregion
 
        #region 装饰件
 
        /// <summary>
        /// 装饰列表
        /// </summary>
        public List<RevitDecorator> Decorators { get; set; }
 
        #endregion
 
 
 
    }
}