| | |
| | | { |
| | | this.Reservoirs = new List<Reservoir>(); |
| | | this.Tanks = new List<Tank>(); |
| | | this.Waterboxs = new List<Waterbox>(); |
| | | this.Junctions = new List<Junction>(); |
| | | this.Nozzles = new List<Nozzle>(); |
| | | this.Hydrants = new List<Hydrant>(); |
| | | this.Bluntheads = new List<Blunthead>(); |
| | | this.Elbows = new List<Elbow>(); |
| | | this.Threelinks = new List<Threelink>(); |
| | | this.Fourlinks = new List<Fourlink>(); |
| | | this.Meters = new List<Meter>(); |
| | | this.Flowmeters = new List<Flowmeter>(); |
| | | this.Pressmeters = new List<Pressmeter>(); |
| | | |
| | | this.Pipes = new List<Pipe>(); |
| | | this.Translations = new List<Translation>(); |
| | | this.Pumps = new List<Pump>(); |
| | | this.Valves = new List<Valve>(); |
| | | this.Pipes = new List<Pipe>(); |
| | | this.Exchangers = new List<Exchanger>(); |
| | | this.Compressors = new List<Compressor>(); |
| | | |
| | | 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.Pipes = rhs.Pipes; |
| | | |
| | | this.Curves = rhs.Curves; |
| | | this.Patterns = rhs.Patterns; |
| | | this.Rules = rhs.Rules; |
| | | } |
| | | |
| | | #region Node |
| | |
| | | /// 水池列表 |
| | | /// </summary> |
| | | public List<Tank> Tanks { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 水箱列表 |
| | | /// </summary> |
| | | public List<Waterbox> Waterboxs { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 连接节点列表 |
| | |
| | | public List<Hydrant> Hydrants { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 闷头列表 |
| | | /// </summary> |
| | | public List<Blunthead> Bluntheads { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 弯头列表 |
| | | /// </summary> |
| | | public List<Elbow> Elbows { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 三通列表 |
| | | /// </summary> |
| | | public List<Threelink> Threelinks { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 四通列表 |
| | | /// </summary> |
| | | public List<Fourlink> Fourlinks { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 水表列表 |
| | | /// </summary> |
| | | public List<Meter> Meters { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 流量计列表 |
| | | /// </summary> |
| | | public List<Flowmeter> Flowmeters { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 压力表列表 |
| | | /// </summary> |
| | | public List<Pressmeter> Pressmeters { get; set; } |
| | | |
| | | |
| | | #endregion |
| | | |
| | | #region Linker |
| | | #region Link |
| | | |
| | | /// <summary> |
| | | /// 管道列表 |
| | | /// </summary> |
| | | public List<Pipe> Pipes { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 过渡件列表 |
| | | /// </summary> |
| | | public List<Translation> Translations { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 水泵列表 |
| | |
| | | public List<Valve> Valves { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 管道列表 |
| | | /// 换热器列表 |
| | | /// </summary> |
| | | public List<Pipe> Pipes { get; set; } |
| | | public List<Exchanger> Exchangers { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 压缩机列表 |
| | | /// </summary> |
| | | public List<Compressor> Compressors { get; set; } |
| | | |
| | | #endregion |
| | | |
| | |
| | | /// </summary> |
| | | public List<Rule> Rules { get; set; } |
| | | |
| | | |
| | | #endregion |
| | | |
| | | |