2022-04-28 15:04:13 +05:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Data
|
|
|
|
|
{
|
2022-06-14 15:35:31 +05:00
|
|
|
|
#nullable enable
|
2022-04-28 15:04:13 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Автоматически определяемая операция
|
|
|
|
|
/// </summary>
|
2022-06-02 12:35:51 +05:00
|
|
|
|
public class DetectedOperationDto : IId, IWellRelated
|
2022-04-28 15:04:13 +05:00
|
|
|
|
{
|
2022-06-02 12:35:51 +05:00
|
|
|
|
/// <inheritdoc/>
|
2022-04-28 15:04:13 +05:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
2022-06-02 12:35:51 +05:00
|
|
|
|
/// <inheritdoc/>
|
2022-04-28 15:04:13 +05:00
|
|
|
|
public int IdWell { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Id названия/описания операции
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int IdCategory { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Id пользователя панели
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int IdUsersAtStart { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Дата начала операции в часовом поясе скважины
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime DateStart { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Дата завершения операции в часовом поясе скважины
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime DateEnd { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Продолжительность операции в минутах
|
|
|
|
|
/// </summary>
|
|
|
|
|
public double DurationMinutes => (DateEnd - DateStart).TotalMinutes;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// глубина на начало операции, м
|
|
|
|
|
/// </summary>
|
|
|
|
|
public double DepthStart { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// глубина на завершения операции, м
|
|
|
|
|
/// </summary>
|
|
|
|
|
public double DepthEnd { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// название/описание операции
|
|
|
|
|
/// </summary>
|
|
|
|
|
public WellOperationCategoryDto OperationCategory { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Пользователь панели оператора
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TelemetryUserName { get; set; }
|
2022-06-08 14:37:05 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Бурильщик
|
|
|
|
|
/// </summary>
|
2022-06-14 15:35:31 +05:00
|
|
|
|
public DrillerDto? Driller { get; set; }
|
2022-06-08 14:37:05 +05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Целевые/нормативные показатели
|
|
|
|
|
/// </summary>
|
2022-06-14 15:35:31 +05:00
|
|
|
|
public OperationValueDto? OperationValue { get; set; }
|
2022-06-10 18:36:14 +05:00
|
|
|
|
|
2022-06-14 15:35:31 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Ключевой параметр операции
|
|
|
|
|
/// </summary>
|
2022-06-10 18:36:14 +05:00
|
|
|
|
public double Value { get; set; }
|
2022-04-28 15:04:13 +05:00
|
|
|
|
}
|
2022-06-14 15:35:31 +05:00
|
|
|
|
#nullable disable
|
2022-04-28 15:04:13 +05:00
|
|
|
|
}
|