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 StartWaterLevelH { 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 Index { get; set; }
|
|
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; }//长江水位
|
}
|
}
|