2022-12-07 10:52:35 +05:00
|
|
|
|
using System;
|
2023-03-07 00:36:09 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2022-12-05 12:39:25 +05:00
|
|
|
|
|
2022-12-27 14:30:52 +05:00
|
|
|
|
namespace AsbCloudApp.Data.ProcessMap
|
2022-12-05 12:39:25 +05:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2022-12-07 08:49:21 +05:00
|
|
|
|
/// РТК
|
2023-03-07 00:36:09 +05:00
|
|
|
|
/// </summary>
|
2023-03-31 16:57:20 +05:00
|
|
|
|
public class ProcessMapPlanDto : IId, IWellRelated
|
2022-12-05 12:39:25 +05:00
|
|
|
|
{
|
|
|
|
|
/// <inheritdoc/>
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <inheritdoc/>
|
2023-03-21 12:41:43 +05:00
|
|
|
|
[Range(1, int.MaxValue, ErrorMessage = "Id скважины не может быть меньше 1")]
|
2022-12-05 12:39:25 +05:00
|
|
|
|
public int IdWell { get; set; }
|
|
|
|
|
|
2022-12-07 08:47:41 +05:00
|
|
|
|
/// <summary>
|
2022-12-07 15:04:36 +05:00
|
|
|
|
/// Id пользователя, поле заполнять не нужно, подставляется автоматически
|
2022-12-07 08:47:41 +05:00
|
|
|
|
/// </summary>
|
2022-12-07 15:04:36 +05:00
|
|
|
|
public int? IdUser { get; set; }
|
2022-12-07 08:47:41 +05:00
|
|
|
|
|
2023-03-21 12:41:43 +05:00
|
|
|
|
/// <summary>
|
2023-07-27 10:11:20 +05:00
|
|
|
|
/// Id режима 0-ручной, 1-ротор, 2 - слайд
|
2023-03-21 12:41:43 +05:00
|
|
|
|
/// </summary>
|
2023-04-06 17:16:53 +05:00
|
|
|
|
[Range(0, 2, ErrorMessage = "Id режима должен быть либо 0-ручной либо, 1-ротор либо 2-слайд")]
|
2023-03-21 12:41:43 +05:00
|
|
|
|
public int IdMode { get; set; }
|
|
|
|
|
|
2022-12-05 12:39:25 +05:00
|
|
|
|
/// <summary>
|
2022-12-06 10:41:13 +05:00
|
|
|
|
/// Тип секции
|
2022-12-05 12:39:25 +05:00
|
|
|
|
/// </summary>
|
2022-12-06 10:41:13 +05:00
|
|
|
|
public int IdWellSectionType { get; set; }
|
2022-12-05 12:39:25 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Дата последнего изменения
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTimeOffset LastUpdate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Стартовая глубина
|
|
|
|
|
/// </summary>
|
2023-03-21 12:41:43 +05:00
|
|
|
|
[Range(0, 50000, ErrorMessage = "Глубина не может быть отрицательной")]
|
2022-12-05 12:39:25 +05:00
|
|
|
|
public double DepthStart { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Глубина окончания интервала
|
|
|
|
|
/// </summary>
|
2023-03-10 05:09:41 +05:00
|
|
|
|
[Range(0, 50000, ErrorMessage = "Глубина не может быть отрицательной")]
|
2022-12-05 12:39:25 +05:00
|
|
|
|
public double DepthEnd { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Нагрузка
|
|
|
|
|
/// </summary>
|
2023-03-21 12:41:43 +05:00
|
|
|
|
public PlanLimitDto AxialLoad { get; set; } = null!;
|
2022-12-05 12:39:25 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Перепад давления
|
|
|
|
|
/// </summary>
|
2023-03-21 12:41:43 +05:00
|
|
|
|
public PlanLimitDto Pressure { get; set; } = null!;
|
2022-12-05 12:39:25 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Момент на ВСП
|
|
|
|
|
/// </summary>
|
2023-03-21 12:41:43 +05:00
|
|
|
|
public PlanLimitDto TopDriveTorque { get; set; } = null!;
|
2022-12-05 12:39:25 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Обороты на ВСП
|
|
|
|
|
/// </summary>
|
2023-03-21 12:41:43 +05:00
|
|
|
|
public PlanLimitDto TopDriveSpeed { get; set; } = null!;
|
2022-12-05 12:39:25 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Расход
|
|
|
|
|
/// </summary>
|
2023-03-21 12:41:43 +05:00
|
|
|
|
public PlanLimitDto Flow { get; set; } = null!;
|
2022-12-05 12:39:25 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Плановая механическая скорость, м/ч
|
|
|
|
|
/// </summary>
|
2022-12-06 10:41:13 +05:00
|
|
|
|
public double RopPlan { get; set; }
|
2023-03-21 17:51:34 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Плановый процент использования АКБ
|
|
|
|
|
/// </summary>
|
|
|
|
|
public double UsageSaub { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Плановый процент использования spin master
|
|
|
|
|
/// </summary>
|
|
|
|
|
public double UsageSpin { get; set; }
|
2022-12-05 12:39:25 +05:00
|
|
|
|
}
|
|
|
|
|
}
|