2022-06-15 14:57:37 +05:00
|
|
|
|
using System;
|
2022-08-04 15:06:17 +05:00
|
|
|
|
using System.Collections.Generic;
|
2022-06-17 17:21:14 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2023-12-19 00:40:04 +05:00
|
|
|
|
using System.Linq;
|
2022-04-28 15:04:13 +05:00
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Requests
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Параметры запроса на получение операций определенных по телеметрии
|
|
|
|
|
/// </summary>
|
2022-06-15 14:57:37 +05:00
|
|
|
|
public class DetectedOperationRequest : RequestBase
|
2022-04-28 15:04:13 +05:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-06-17 17:21:14 +05:00
|
|
|
|
/// категория операций
|
2022-04-28 15:04:13 +05:00
|
|
|
|
/// </summary>
|
2022-06-17 17:21:14 +05:00
|
|
|
|
[Required]
|
|
|
|
|
public int IdWell { get; set; }
|
2023-12-19 00:40:04 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Список id телеметрий
|
|
|
|
|
/// пустой список - нет фильтрации
|
|
|
|
|
/// </summary>
|
2023-12-21 15:33:45 +05:00
|
|
|
|
public IEnumerable<int> IdsTelemetries { get; set; } = Array.Empty<int>();
|
2022-06-17 17:21:14 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
2022-08-04 15:06:17 +05:00
|
|
|
|
/// категории операций
|
2022-06-17 17:21:14 +05:00
|
|
|
|
/// </summary>
|
2023-12-21 15:33:45 +05:00
|
|
|
|
public IEnumerable<int> IdsCategories { get; set; } = Array.Empty<int>();
|
2022-04-28 15:04:13 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Больше или равно дате
|
|
|
|
|
/// </summary>
|
2023-12-19 00:40:04 +05:00
|
|
|
|
public DateTimeOffset? GeDateStart { get; set; }
|
2022-04-28 15:04:13 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Меньше или равно дате
|
|
|
|
|
/// </summary>
|
2023-12-19 00:40:04 +05:00
|
|
|
|
public DateTimeOffset? LeDateEnd { get; set; }
|
2022-04-28 15:04:13 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Больше или равно глубины забоя
|
|
|
|
|
/// </summary>
|
2023-12-19 00:40:04 +05:00
|
|
|
|
public double? GeDepth { get; set; }
|
2022-04-28 15:04:13 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Меньше или равно глубины забоя
|
|
|
|
|
/// </summary>
|
2023-12-19 00:40:04 +05:00
|
|
|
|
public double? LeDepth { get; set; }
|
2022-04-28 15:04:13 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Фильтр по пользователю панели
|
|
|
|
|
/// </summary>
|
2023-12-21 15:33:45 +05:00
|
|
|
|
public int? IdTelemetryUser { get; set; }
|
2022-04-28 15:04:13 +05:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|