using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Runtime.InteropServices;
|
|
namespace IStation.Model
|
{
|
public class StationSignalRecord
|
{
|
public StationSignalRecord() { }
|
public StationSignalRecord(Model.StationSignalRecord rhs)
|
{
|
this.Time = rhs.Time;
|
this.ChangJiangWL = rhs.ChangJiangWL;
|
this.QuShuiKouWL = rhs.QuShuiKouWL;
|
this.QianChiWL = rhs.QianChiWL;
|
this.ShuiKuWL = rhs.ShuiKuWL;
|
this.TotalActiveEnergy1 = rhs.TotalActiveEnergy1;
|
this.TotalActiveEnergy2 = rhs.TotalActiveEnergy2;
|
this.PumpRunCount = rhs.PumpRunCount;
|
this.PumpSignalRecords = rhs.PumpSignalRecords?.Select(x => new Model.PumpSignalRecord(x)).ToList();
|
}
|
|
|
/// <summary>
|
/// 时间
|
/// </summary>
|
public DateTime Time { get; set; }
|
|
/// <summary>
|
/// 长江液位
|
/// </summary>
|
public double? ChangJiangWL { get; set; }
|
|
/// <summary>
|
/// 取水口液位
|
/// </summary>
|
public double? QuShuiKouWL { get; set; }
|
|
/// <summary>
|
/// 前池液位
|
/// </summary>
|
public double? QianChiWL { get; set; }
|
|
/// <summary>
|
/// 水库液位
|
/// </summary>
|
public double? ShuiKuWL { get; set; }
|
|
/// <summary>
|
/// 1#进线累计有功电能
|
/// </summary>
|
public double? TotalActiveEnergy1 { get; set; }
|
|
/// <summary>
|
/// 2#进线累计有功电能
|
/// </summary>
|
public double? TotalActiveEnergy2 { get; set; }
|
|
/// <summary>
|
/// 泵运行数量
|
/// </summary>
|
public int PumpRunCount { get; set; }
|
|
/// <summary>
|
/// 泵信号记录列表
|
/// </summary>
|
public List<PumpSignalRecord> PumpSignalRecords { get; set; }
|
}
|
}
|