2024-01-19 17:48:45 +05:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Requests;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Запрос для получения РТК план
|
|
|
|
|
/// </summary>
|
2024-06-04 16:55:44 +05:00
|
|
|
|
public class ProcessMapPlanBaseRequest
|
2024-01-19 17:48:45 +05:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Вернуть данные, которые поменялись с указанной даты
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTimeOffset? UpdateFrom { get; set; }
|
2024-05-28 00:05:21 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Конструктор
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ProcessMapPlanBaseRequest()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Копирующий конструктор
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="request">Параметры запроса</param>
|
2024-06-04 16:55:44 +05:00
|
|
|
|
public ProcessMapPlanBaseRequest(ProcessMapPlanBaseRequest request)
|
2024-05-28 00:05:21 +05:00
|
|
|
|
{
|
|
|
|
|
UpdateFrom = request.UpdateFrom;
|
|
|
|
|
}
|
2024-01-29 12:25:58 +05:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Запрос для получения РТК план по скважине
|
|
|
|
|
/// </summary>
|
2024-05-28 00:05:21 +05:00
|
|
|
|
public class ProcessMapPlanBaseRequestWithWell : ProcessMapPlanBaseRequest
|
2024-01-29 12:25:58 +05:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Запрос для получения РТК план по скважине
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idWell"></param>
|
|
|
|
|
public ProcessMapPlanBaseRequestWithWell(int idWell)
|
|
|
|
|
{
|
|
|
|
|
IdWell = idWell;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Запрос для получения РТК план по скважине
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="request"></param>
|
|
|
|
|
/// <param name="idWell"></param>
|
|
|
|
|
public ProcessMapPlanBaseRequestWithWell(ProcessMapPlanBaseRequest request, int idWell)
|
2024-05-28 00:05:21 +05:00
|
|
|
|
: base(request)
|
2024-01-29 12:25:58 +05:00
|
|
|
|
{
|
2024-05-28 00:05:21 +05:00
|
|
|
|
IdWell = idWell;
|
2024-01-29 12:25:58 +05:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Id скважины
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int IdWell { get; set; }
|
2024-01-19 17:48:45 +05:00
|
|
|
|
}
|