2024-07-04 11:02:45 +05:00
|
|
|
using System;
|
2021-10-20 12:52:31 +05:00
|
|
|
using System.Collections.Generic;
|
2024-01-16 13:24:42 +05:00
|
|
|
using System.ComponentModel.DataAnnotations;
|
2023-02-22 17:10:29 +05:00
|
|
|
using System.Linq;
|
2021-08-24 16:47:10 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
namespace AsbCloudApp.Data;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// DTO статистики по операциям за скважину
|
|
|
|
/// </summary>
|
|
|
|
public class StatWellDto : IId
|
2021-08-24 16:47:10 +05:00
|
|
|
{
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <inheritdoc/>
|
|
|
|
[Required]
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
2022-06-02 12:35:51 +05:00
|
|
|
/// <summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
/// название
|
2022-06-02 12:35:51 +05:00
|
|
|
/// </summary>
|
2024-08-19 10:01:07 +05:00
|
|
|
[Required]
|
|
|
|
public string Caption { get; set; } = string.Empty;
|
2022-06-02 12:35:51 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <summary>
|
|
|
|
/// тип скважины
|
|
|
|
/// </summary>
|
|
|
|
[Required]
|
|
|
|
public string WellType { get; set; } = string.Empty;
|
2022-06-02 12:35:51 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <summary>
|
|
|
|
/// ИД состояния скважины
|
|
|
|
/// </summary>
|
|
|
|
[Required]
|
|
|
|
public int IdState { get; set; }
|
2022-06-02 12:35:51 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <summary>
|
|
|
|
/// текст состояния скважины
|
|
|
|
/// </summary>
|
|
|
|
[Required]
|
|
|
|
public string State { get; set; } = string.Empty;
|
2022-06-02 12:35:51 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <summary>
|
|
|
|
/// дата прихода последней телеметрии
|
|
|
|
/// </summary>
|
|
|
|
[Required]
|
|
|
|
public DateTimeOffset LastTelemetryDate { get; set; }
|
2022-06-02 12:35:51 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <summary>
|
|
|
|
/// Статистика по секциям
|
|
|
|
/// </summary>
|
|
|
|
[Required]
|
|
|
|
public IEnumerable<StatSectionDto> Sections { get; set; } = Enumerable.Empty<StatSectionDto>();
|
2022-06-02 12:35:51 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <summary>
|
|
|
|
/// статистика за всю скважину
|
|
|
|
/// </summary>
|
|
|
|
[Required]
|
|
|
|
public PlanFactDto<StatOperationsDto> Total { get; set; } = new();
|
2022-06-02 12:35:51 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <summary>
|
|
|
|
/// компании участвующие в строительстве скважины
|
|
|
|
/// </summary>
|
|
|
|
[Required]
|
|
|
|
public IEnumerable<CompanyDto> Companies { get; set; } = Enumerable.Empty<CompanyDto>();
|
2023-03-06 16:12:26 +05:00
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
/// <summary>
|
|
|
|
/// Отставание от ГГД, дни
|
|
|
|
/// </summary>
|
|
|
|
public double? TvdLagDays { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Кол-во дней бурения по ГГД
|
|
|
|
/// </summary>
|
|
|
|
public double? TvdDrillingDays { get; set; }
|
2021-08-24 16:47:10 +05:00
|
|
|
}
|