ningshuxia
2024-07-08 04e811eb41fe6adce30ec78926973b0e02ed6bbe
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
namespace IStation.Dto.Epanet
{
    /// <summary>
    /// 
    /// </summary>
    public class HydraulicModelDto
    {
 
        public HydraulicModelDto()
        {
            this.Reservoirs = new List<Reservoir>();
            this.Tanks = new List<Tank>();
            this.Junctions = new List<Node>();
            this.Pipes = new List<Pipe>();
            this.Pumps = new List<Pump>();
            this.Valves = new List<Valve>();
        }
 
        public HydraulicModelDto(HydraulicModelDto rhs)
        { 
            this.Reservoirs = rhs.Reservoirs?.ToList();
            this.Tanks = rhs.Tanks?.ToList();
            this.Junctions = rhs.Junctions?.ToList();
            this.Pipes = rhs.Pipes?.ToList();
            this.Pumps = rhs.Pumps?.ToList();
            this.Valves = rhs.Valves?.ToList();
        }
 
 
        /// <summary>
        /// 水库
        /// </summary>
        public List<Reservoir> Reservoirs { get; set; }
 
        /// <summary>
        /// 蓄水池
        /// </summary>
        public List<Tank> Tanks { get; set; }
 
        /// <summary>
        /// 连接点
        /// </summary>
        public List<Node> Junctions { get; set; }
 
        /// <summary>
        /// 管道
        /// </summary>
        public List<Pipe> Pipes { get; set; }
 
        /// <summary>
        /// 泵
        /// </summary>
        public List<Pump> Pumps { get; set; }
 
        /// <summary>
        /// 阀门
        /// </summary>
        public List<Valve> Valves { get; set; }
 
 
    }
}