Shuxia Ning
2024-11-06 adf8dc1c7cae1b12f486dcdb3d7daf4a5a59ec52
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
using System;
using System.Collections.Generic;
using System.Linq;
 
namespace IStation.Dto
{
    /// <summary>
    /// 分析偏差
    /// </summary>   
    public class AnalysisDeviation :   System.ICloneable
    {
        /// <summary>
        /// 
        /// </summary>
        public AnalysisDeviation()
        {
 
        }
 
        /// <summary>
        /// 
        /// </summary>  
        public AnalysisDeviation(AnalysisDeviation rhs)
        {
            this.Station = rhs.Station;
            this.RunFlags = rhs.RunFlags;
            this.RunCount = rhs.RunCount;
            this.MinFlow = rhs.MinFlow;
            this.MaxFlow = rhs.MaxFlow; 
            this.PressureDiff = rhs.PressureDiff;
            this.Count= rhs.Count;
            this.Remark = rhs.Remark;
        }
 
 
        /// <summary>
        /// 
        /// </summary>  
        public void Reset(AnalysisDeviation rhs)
        {
            this.Station = rhs.Station;
            this.RunFlags = rhs.RunFlags;
            this.RunCount = rhs.RunCount;
            this.MinFlow = rhs.MinFlow;
            this.MaxFlow = rhs.MaxFlow;
            this.PressureDiff = rhs.PressureDiff;
            this.Count = rhs.Count;
            this.Remark = rhs.Remark;
        }
 
        /// <summary>
        /// 泵站
        /// </summary>
        public int Station {get; set;}
 
        /// <summary>
        /// 运行组合
        /// </summary>
        public List<int> RunFlags { get; set; }
 
        /// <summary>
        /// 运行数量
        /// </summary>
        public int RunCount { get; set; }
 
        /// <summary>
        /// 最小流量
        /// </summary>
        public double MinFlow { get; set; }
 
        /// <summary>
        /// 最大流量
        /// </summary>
        public double MaxFlow { get; set; }
         
        /// <summary>
        /// 压力差
        /// </summary>
        public Dictionary<int, double> PressureDiff { get; set; }
 
        /// <summary>
        /// 数量
        /// </summary>
        public int Count { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
 
        
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public AnalysisDeviation Clone()
        {
            return (AnalysisDeviation)this.MemberwiseClone();
        }
 
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
        }
 
 
 
    }
}