2024-01-16 13:24:42 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Data.DetectedOperation
|
2022-08-04 15:06:17 +05:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Статистика по операциям например за период.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class DetectedOperationStatDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Id названия/описания операции
|
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
|
[Required]
|
2022-08-04 15:06:17 +05:00
|
|
|
|
public int IdCategory { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Название операции
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Category { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Количество операций
|
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
|
[Required]
|
2022-08-04 15:06:17 +05:00
|
|
|
|
public int Count { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Среднее по ключевому показателю
|
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
|
[Required]
|
2022-08-04 15:06:17 +05:00
|
|
|
|
public double ValueAverage { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Мин по ключевому показателю
|
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
|
[Required]
|
2022-08-04 15:06:17 +05:00
|
|
|
|
public double ValueMin { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Макс по ключевому показателю
|
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
|
[Required]
|
2022-08-04 15:06:17 +05:00
|
|
|
|
public double ValueMax { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Суммарное время операций, мин
|
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
|
[Required]
|
2022-08-04 15:06:17 +05:00
|
|
|
|
public double MinutesTotal { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Мин продолжительность операции, мин
|
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
|
[Required]
|
2022-08-04 15:06:17 +05:00
|
|
|
|
public double MinutesMin { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Макс продолжительность операции, мин
|
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
|
[Required]
|
2022-08-04 15:06:17 +05:00
|
|
|
|
public double MinutesMax { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Средняя продолжительность операции, мин
|
|
|
|
|
/// </summary>
|
2024-01-16 13:24:42 +05:00
|
|
|
|
[Required]
|
2022-08-04 15:06:17 +05:00
|
|
|
|
public double MinutesAverage { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|