2022-09-19 15:55:53 +05:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Data
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Расширение для класса MinMaxDto
|
|
|
|
|
/// </summary>
|
2022-09-20 09:47:54 +05:00
|
|
|
|
public class MinMaxExtendedViewDto : MinMaxDto<double>
|
2022-09-19 15:55:53 +05:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Среднее значение
|
|
|
|
|
/// </summary>
|
|
|
|
|
public double Avg { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Является максимальным
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsMax { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Является минимальным
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsMin { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|