tangxu
2024-03-26 edd23f115dba31d764fdaf75a6207d888d0419d3
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
using IStation.CalcModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text; 
 
namespace IStation.CalcModel
{
    public class AnaRequest
    {
        public eCalcOptType  CalcOptType { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public List<Model.TimeWaterLevel> WaterLevels长江 { get; set; }
        public int StartOpenCount { get; set; } = -1;
        public double? TotalFlow取水总量 { get; set; }//单位 吨
 
        public double CurrentWaterBoxLevel { get; set; }//当前水库水位
        public double? MaxLimitWaterBoxLevel { get; set; }//最高水库水位限制
        public double? MinLimitWaterBoxLevel { get; set; }//最低水库水位限制
 
        //public double ReservoirTotalFlow { get; set; }//用水总量 单位 吨
        public List<double> ReservoirDropFlow { get; set; }//水池排水时间流量
        public List<double?> ReservoirMinLimitHours { get; set; }
        public List<double?> ReservoirMaxLimitHours { get; set; }
 
        //自定义的开机策略
        public List<CalcModel.PumpRunRange> ManuPrjTimeBlockList { get; set; } 
    }
    public class AnaRequestBase
    {
        public AnaRequestBase() { }
        public AnaRequestBase(AnaRequest rhs) { 
            this.CalcOptType = rhs.CalcOptType;
            this.StartTime = rhs.StartTime; this.EndTime = rhs.EndTime;
            this.StartOpenCount = rhs.StartOpenCount;
            this.TotalFlow取水总量 = rhs.TotalFlow取水总量;
 
            this.CurrentWaterBoxLevel = rhs.CurrentWaterBoxLevel;
            this.MaxLimitWaterBoxLevel = rhs.MaxLimitWaterBoxLevel; 
            this.MinLimitWaterBoxLevel = rhs.MinLimitWaterBoxLevel;
 
            this.ReservoirDropFlow = rhs.ReservoirDropFlow;
            this.ReservoirMinLimitHours = rhs.ReservoirMinLimitHours;
            this.ReservoirMaxLimitHours = rhs.ReservoirMaxLimitHours;
        }
        public eCalcOptType CalcOptType { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public int StartOpenCount { get; set; } = -1;
        public double? TotalFlow取水总量 { get; set; }//单位 吨
 
        public double CurrentWaterBoxLevel { get; set; }//当前水库水位
        public double? MaxLimitWaterBoxLevel { get; set; }//最高水库水位限制
        public double? MinLimitWaterBoxLevel { get; set; }//最低水库水位限制
 
        public List<double> ReservoirDropFlow { get; set; }//水池排水时间流量
        public List<double?> ReservoirMinLimitHours { get; set; }
        public List<double?> ReservoirMaxLimitHours { get; set; }
 
    }
}