2025-01-09 17:43:21 +05:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using System;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudDb.Model
|
|
|
|
|
{
|
|
|
|
|
[Table("t_telemetry_data_well_workover"), Comment("набор основных данных для ТКРС")]
|
|
|
|
|
public partial class TelemetryDataWellWorkover : ITelemetryData
|
|
|
|
|
{
|
|
|
|
|
[Column("id_telemetry")]
|
|
|
|
|
public int IdTelemetry { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("id_user"), Comment("Пользователь ТКРС")]
|
|
|
|
|
public int? IdUser { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("date", TypeName = "timestamp with time zone"), Comment("'2021-10-19 18:23:54+05'")]
|
|
|
|
|
public DateTimeOffset DateTime { get; set; }
|
|
|
|
|
|
2025-01-13 17:28:07 +05:00
|
|
|
|
[Column("bit_depth"), Comment("Глубина инструмента, м ")]
|
2025-01-09 17:43:21 +05:00
|
|
|
|
public float BitDepth { get; set; }
|
|
|
|
|
|
2025-01-13 17:28:07 +05:00
|
|
|
|
[Column("block_position"), Comment("Высота крюкоблока, м")]
|
2025-01-09 17:43:21 +05:00
|
|
|
|
public float BlockPosition { get; set; }
|
|
|
|
|
|
2025-01-13 17:28:07 +05:00
|
|
|
|
[Column("hook_load"), Comment("Вес на крюке")]
|
2025-01-09 17:43:21 +05:00
|
|
|
|
public float HookLoad { get; set; }
|
|
|
|
|
|
2025-01-13 17:28:07 +05:00
|
|
|
|
[Column("trip_in_out_speed"), Comment("Скорость СПО, м/с")]
|
2025-01-09 17:43:21 +05:00
|
|
|
|
public float TripInOutSpeed { get; set; }
|
|
|
|
|
|
2025-01-13 17:28:07 +05:00
|
|
|
|
[Column("trip_tank_volume"), Comment("Объем доливной емкости (ДЕ), м3")]
|
2025-01-09 17:43:21 +05:00
|
|
|
|
public float TripTankVolume { get; set; }
|
|
|
|
|
|
2025-01-13 17:28:07 +05:00
|
|
|
|
[Column("mud_density"), Comment("Плотность жидкости в ДЕ, г/см3")]
|
2025-01-09 17:43:21 +05:00
|
|
|
|
public float MudDensity { get; set; }
|
|
|
|
|
|
2025-01-13 17:28:07 +05:00
|
|
|
|
[Column("flow_rate"), Comment("Расход доливаемой жидкости, м3/ч")]
|
2025-01-09 17:43:21 +05:00
|
|
|
|
public float FlowRate { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("well_level"), Comment("Уровень в скважине (по эхолоту), м")]
|
|
|
|
|
public float WellLevel { get; set; }
|
|
|
|
|
|
2025-01-13 17:28:07 +05:00
|
|
|
|
[Column("mud_temperature_in_blow_out_preventor"), Comment("Температура жидкости в отводе крестовины ПВО, С")]
|
2025-01-09 17:43:21 +05:00
|
|
|
|
public float MudTemperatureInBlowOutPreventor { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("gas_indications_CH4"), Comment("Газопоказания (СН4), %")]
|
|
|
|
|
public float GasIndicationsCH4 { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("gas_indications_H2S"), Comment("Газопоказания (Н2S), %")]
|
|
|
|
|
public float GasIndicationsH2S { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonIgnore]
|
|
|
|
|
[ForeignKey(nameof(IdTelemetry))]
|
|
|
|
|
[InverseProperty(nameof(Model.Telemetry.DataWellWorkover))]
|
|
|
|
|
public virtual Telemetry Telemetry { get; set; } = null!;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|