DD.WellWorkover.Cloud/AsbCloudDb/Model/DataSaubBase.cs

78 lines
4.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
#nullable disable
namespace AsbCloudDb.Model
{
[Table("t_data_saub_base"), Comment("набор основных данных по SAUB")]
public partial class DataSaubBase : IId
{
[Key]
[Column("id")]
public int Id { get; set; }
[Column("id_telemetry")]
public int IdTelemetry { get; set; }
[Column("date", TypeName = "timestamp with time zone"), Comment("'2021-10-19 18:23:54+05'")]
public DateTime Date { get; set; }
[Column("mode"), Comment("Режим САУБ")]
public int? Mode { get; set; }
[Column("well_depth"), Comment("Глубина забоя")]
public double? WellDepth { get; set; }
[Column("bit_depth"), Comment("Положение инструмента")]
public double? BitDepth { get; set; }
[Column("block_height"), Comment("Высота талевого блока")]
public double? BlockHeight { get; set; }
[Column("block_speed"), Comment("Скорость талевого блока")]
public double? BlockSpeed { get; set; }
[Column("block_speed_sp"), Comment("Скорости талевого блока. Задание")]
public double? BlockSpeedSp { get; set; }
[Column("pressure"), Comment("Давление")]
public double? Pressure { get; set; }
[Column("pressure_idle"), Comment("Давление. Холостой ход")]
public double? PressureIdle { get; set; }
[Column("pressure_sp"), Comment("Давление. Задание")]
public double? PressureSp { get; set; }
[Column("pressure_delta_limit_max"), Comment("Давление дифф. Аварийное макс.")]
public double? PressureDeltaLimitMax { get; set; }
[Column("axial_load"), Comment("Осевая нагрузка")]
public double? AxialLoad { get; set; }
[Column("axial_load_sp"), Comment("Осевая нагрузка. Задание")]
public double? AxialLoadSp { get; set; }
[Column("axial_load_limit_max"), Comment("Осевая нагрузка. Аварийная макс.")]
public double? AxialLoadLimitMax { get; set; }
[Column("hook_weight"), Comment("Вес на крюке")]
public double? HookWeight { get; set; }
[Column("hook_weight_idle"), Comment("Вес на крюке. Холостой ход")]
public double? HookWeightIdle { get; set; }
[Column("hook_weight_limit_min"), Comment("Вес на крюке. Посадка")]
public double? HookWeightLimitMin { get; set; }
[Column("hook_weight_limit_max"), Comment("Вес на крюке. Затяжка")]
public double? HookWeightLimitMax { get; set; }
[Column("rotor_torque"), Comment("Момент на роторе")]
public double? RotorTorque { get; set; }
[Column("rotor_torque_idle"), Comment("Момент на роторе. Холостой ход")]
public double? RotorTorqueIdle { get; set; }
[Column("rotor_torque_sp"), Comment("Момент на роторе. Задание")]
public double? RotorTorqueSp { get; set; }
[Column("rotor_torque_limit_max"), Comment("Момент на роторе. Аварийный макс.")]
public double? RotorTorqueLimitMax { get; set; }
[Column("rotor_speed"), Comment("Обороты ротора")]
public double? RotorSpeed { get; set; }
[Column("flow"), Comment("Расход")]
public double? Flow { get; set; }
[Column("flow_idle"), Comment("Расход. Холостой ход")]
public double? FlowIdle { get; set; }
[Column("flow_delta_limit_max"), Comment("Расход. Аварийный макс.")]
public double? FlowDeltaLimitMax { get; set; }
[JsonIgnore]
[ForeignKey(nameof(IdTelemetry))]
[InverseProperty(nameof(Model.Telemetry.DataSaubBases))]
public virtual Telemetry Telemetry { get; set; }
}
}