ningshuxia
2025-03-28 b6a00e2fddcf2343b981c30be670aa00b87699dc
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
namespace PBS.WinFrmUI.Hydro.Dispatch.Model
{
    /// <summary>
    /// 出口管路参数
    /// </summary>
    public class OutletPipePara
    {
        /// <summary>
        /// 
        /// </summary>
        public OutletPipePara() { IsWaterLevel = false; }
 
        /// <summary>
        /// 
        /// </summary>
        /// <param name="target_flow"></param>
        /// <param name="min_flow"></param>
        /// <param name="max_flow"></param>
        public void InitialFlowInfo(double target_flow, string min_flow, string max_flow)
        {
            this.TargetFlow = target_flow;
            this.TargetFlowRangeMin = min_flow;
            this.TargetFlowRangeMax = max_flow;
        }
        /// <summary>
        /// 管路名称(如果只有一个出口管路可不填)
        /// </summary>
        public string Name { get; set; }
 
        /// <summary>
        /// 是否是水位
        /// </summary>
        public bool IsWaterLevel { get; set; } = false;
 
        /// <summary>
        /// 阀门状态 1 开 0 关
        /// </summary>
        public int ValveStatus { get; set; }
 
        /// <summary>
        /// 目标流量
        /// </summary>
        public double TargetFlow { get; set; }
 
        /// <summary>
        /// 流量浮动变量
        /// </summary>
        public string TargetFlowRangeMin { get; set; }
 
        /// <summary>
        /// 流量浮动变量
        /// </summary>
        public string TargetFlowRangeMax { get; set; }
 
        /// <summary>
        /// 目标压力(如果是扬程就是目标扬程)
        /// </summary>
        public double TargetPress { get; set; }
 
        /// <summary>
        /// 压力浮动变量
        /// </summary>
        public string TargetPressRangeMin { get; set; }
 
        /// <summary>
        /// 压力浮动变量
        /// </summary>
        public string TargetPressRangeMax { get; set; }
    }
}