duheng
2024-11-05 21dd2ae9704c484d5d75b2ed980e5402505da7dc
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
namespace Yw.EPAnet
{
    /// <summary>
    /// 水力管网
    /// </summary>
    public partial class Network
    {
        /// <summary>
        /// 
        /// </summary>
        public Network()
        {
            this.Reservoirs = new List<Reservoir>();
            this.Tanks = new List<Tank>();
            this.Junctions = new List<Junction>();
            this.Nozzles = new List<Nozzle>();
            this.Hydrants = new List<Hydrant>();
            this.Meters = new List<Meter>();
 
            this.Pumps = new List<Pump>();
            this.Valves = new List<Valve>();
            this.AirCompressors=new List<AirCompressor>();
            this.HeatExchangers=new List<HeatExchanger>();
            this.Pipes = new List<Pipe>();
 
            this.Curves = new List<Curve>();
            this.Patterns = new List<Pattern>();
            this.Rules = new List<Rule>();
        }
 
        /// <summary>
        /// 
        /// </summary>
        public Network(Network rhs)
        {
            this.Reservoirs = rhs.Reservoirs;
            this.Tanks = rhs.Tanks;
            this.Junctions = rhs.Junctions;
            this.Nozzles = rhs.Nozzles;
            this.Hydrants = rhs.Hydrants;
            this.Meters = rhs.Meters;
 
            this.Pumps = rhs.Pumps;
            this.Valves = rhs.Valves;
            this.AirCompressors = rhs.AirCompressors;
            this.HeatExchangers = rhs.HeatExchangers;
            this.Pipes = rhs.Pipes;
 
            this.Curves = rhs.Curves;
            this.Patterns = rhs.Patterns;
            this.Rules = rhs.Rules;
        }
 
        #region Node
 
        /// <summary>
        /// 水库列表
        /// </summary>
        public List<Reservoir> Reservoirs { get; set; }
 
        /// <summary>
        /// 水池列表
        /// </summary>
        public List<Tank> Tanks { get; set; }
 
        /// <summary>
        /// 连接节点列表
        /// </summary>
        public List<Junction> Junctions { get; set; }
 
        /// <summary>
        /// 喷嘴列表
        /// </summary>
        public List<Nozzle> Nozzles { get; set; }
 
        /// <summary>
        /// 消火栓列表
        /// </summary>
        public List<Hydrant> Hydrants { get; set; }
 
        /// <summary>
        /// 水表列表
        /// </summary>
        public List<Meter> Meters { get; set; }
 
 
        #endregion
 
        #region Linker
 
        /// <summary>
        /// 水泵列表
        /// </summary>
        public List<Pump> Pumps { get; set; }
 
        /// <summary>
        /// 阀门列表
        /// </summary>
        public List<Valve> Valves { get; set; }
        public List<AirCompressor> AirCompressors { get; set; }
        public List<HeatExchanger> HeatExchangers { get; set; }
 
        /// <summary>
        /// 管道列表
        /// </summary>
        public List<Pipe> Pipes { get; set; }
 
        #endregion
 
        #region Operation
 
        /// <summary>
        /// 曲线列表
        /// </summary>
        public List<Curve> Curves { get; set; }
 
        /// <summary>
        /// 模式列表
        /// </summary>
        public List<Pattern> Patterns { get; set; }
 
        /// <summary>
        /// 规则
        /// </summary>
        public List<Rule> Rules { get; set; }
 
 
        
        
 
        #endregion
 
 
    }
}