using System.ComponentModel.DataAnnotations;
|
|
namespace IStation
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public class AvgStatisticsViewModel
|
{
|
public AvgStatisticsViewModel() { }
|
public AvgStatisticsViewModel(AvgStatisticsViewModel rhs)
|
{
|
this.MinTotalFlow = rhs.MinTotalFlow;
|
this.MaxTotalFlow = rhs.MaxTotalFlow;
|
this.RunCount = rhs.RunCount;
|
this.RunFlags = rhs.RunFlags;
|
this.TimeCount= rhs.TimeCount;
|
}
|
|
[Display(Name = "最小流量")]
|
public double MinTotalFlow { get; set; }
|
|
[Display(Name = "最大流量")]
|
public double MaxTotalFlow { get; set; }
|
|
[Display(Name = "运行数量")]
|
public int RunCount { get; set; }
|
|
[Display(Name = "运行组合")]
|
public string RunFlags { get; set; }
|
|
[Display(Name = "时间点数量")]
|
public int TimeCount { get; set; }
|
|
}
|
}
|