using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IStation.Application { /// /// 能效(多)实时正常内容记录 /// public class DemoEtaMultiRealRecordNormalContentDto { /// /// /// public DemoEtaMultiRealRecordNormalContentDto() { } /// /// /// public DemoEtaMultiRealRecordNormalContentDto(Model.EtaMultiRealRecordPure rhs) { this.DataTime = rhs.DataTime; this.Qa = rhs.Qa.HasValue ? Math.Round(rhs.Qa.Value, 1) : 0; this.Ha = rhs.Ha.HasValue ? Math.Round(rhs.Ha.Value, 2) : 0; this.Ea = rhs.Ea.HasValue ? Math.Round(rhs.Ea.Value, 1) : 0; this.Pa = rhs.Pa.HasValue ? Math.Round(rhs.Pa.Value, 1) : 0; this.WPa = rhs.WPa.HasValue ? Math.Round(rhs.WPa.Value, 1) : 0; this.UWPa = rhs.UWPa.HasValue ? Math.Round(rhs.UWPa.Value, 1) : 0; } /// /// 数据时间 /// public DateTime DataTime { get; set; } /// /// 分析瞬时流量 /// public double Qa { get; set; } /// /// 分析扬程 /// public double Ha { get; set; } /// /// 分析功率 /// public double Pa { get; set; } /// /// 分析效率 /// public double Ea { get; set; } /// /// 分析千吨能耗 /// public double WPa { get; set; } /// /// 分析单位能耗 /// public double UWPa { get; set; } } }