duheng
2024-07-24 90fe896927e0d060e2c6fb408c3d699ebd92ab46
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IStation.CalcModel;
 
namespace IStation.ZyDto
{
    internal class SubmitPrj
    {
        public string schemeID { get; set; }
        public string schemeName { get; set; }
        public string Day { get; set; }
        public string StartTime { get; set; }
        public string EndTime { get; set; }
        public double FlowTotalIn { get; set; }
        public double FlowTotalOut { get; set; }//供水总量
        public double MaxWaterLevelH { get; set; }//最大水库水位
        public double PowerTotal { get; set; }
        public double MoneyTotal { get; set; }
 
        public List<SubmitPrjBlockTime> BlockTimes { get; set; }
 
        public List<SubmitPrjSwitchInfo> Switchs { get; set; }
    }
    internal class SubmitPrjBlockTime
    {
        public int StartSwitchGroupID { get; set; }//开始时对应的SwitchID
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public int OpenPumpCount { get; set; }
        public List<int> OpenPumpIndexs { get; set; }
        public List<SubmitPrjTime> Records { get; set; }
    }
    public class SubmitPrjSwitchInfo
    {
        public SubmitPrjSwitchInfo() { }
        //
        public int GroupID { get; set; }//分组ID
        public int PumpIndex { get; set; }//泵角标
        public string  Time { get; set; }//时间
        public int SwitchType { get; set; }//1 开机 0 关机 
    }
 
    internal class SubmitPrjTime
    {
        public SubmitPrjTime() { }
        public SubmitPrjTime(IStation.CalcModel.AnaPrjPointTime rhs)
        {
            this.Time = rhs.Time; 
 
            this.RealFlow = rhs.RealFlow;
            this.SumMoney = rhs.SumMoney;
            this.RealPower = rhs.RealPower;
            this.SumPower = rhs.SumPower;
            this.SumFlow = rhs.SumFlow;
            //this.WaterLevelQ = rhs.WaterLevelQ;
            this.WaterLevelH = rhs.WaterLevelH;
            this.OpenPumpCount = rhs.OpenPumpCount;
            this.WaterLevelC = rhs.WaterLevelC;
        }
        public DateTime Time { get; set; }//时间
        public int OpenPumpCount { get; set; }//开泵数量
 
 
        public double RealFlow { get; set; }//瞬时值, 不考虑时间段
        public double RealPower { get; set; }//瞬时值, 不考虑时间段
 
        public double SumFlow { get; set; }//流量 , 考虑时间段
        public double SumPower { get; set; }//用电量 , 考虑时间段
        public double SumMoney { get; set; }//费电 , 考虑时间段
 
 
        //public double WaterLevelQ { get; set; }//前池液位 
        public double WaterLevelH { get; set; }//水库液位
        public double WaterLevelC { get; set; }//长江水位
    }
}