2024-06-11 10:31:03 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using AsbCloudDb.Model.ProcessMapPlan;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
2024-06-30 21:02:55 +05:00
|
|
|
|
namespace AsbCloudDb.Model.ProcessMapPlan.Operations;
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
|
|
|
|
[Table("t_process_map_plan_slide"), Comment("РТК план бурение слайд")]
|
|
|
|
|
public class ProcessMapPlanSlide : ProcessMapPlanBase
|
|
|
|
|
{
|
2024-06-30 11:11:09 +05:00
|
|
|
|
[Column("rop_max"), Comment("Максимально допустимая скорость, м/ч.")]
|
|
|
|
|
[Range(0, 800)]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Required]
|
2024-06-30 11:11:09 +05:00
|
|
|
|
public double RopMax { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-30 11:11:09 +05:00
|
|
|
|
[Column("pressure_max"), Comment("Максимально допустимое давление, атм.")]
|
|
|
|
|
[Range(0, 400)]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Required]
|
2024-06-30 11:11:09 +05:00
|
|
|
|
public double PressureMax { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-30 11:11:09 +05:00
|
|
|
|
[Column("differential_pressure"), Comment("Перепад давления уставка, атм.")]
|
|
|
|
|
[Range(0, 60)]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Required]
|
2024-06-21 09:53:45 +05:00
|
|
|
|
public double DifferentialPressure { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-30 11:11:09 +05:00
|
|
|
|
[Column("differential_pressure_max"), Comment("Перепад давления ограничение, атм.")]
|
|
|
|
|
[Range(0, 60)]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Required]
|
2024-06-30 11:11:09 +05:00
|
|
|
|
public double DifferentialPressureMax { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-30 11:11:09 +05:00
|
|
|
|
[Column("weight_on_bit"), Comment("Нагрузка уставка, т.")]
|
|
|
|
|
[Range(0, 99)]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Required]
|
2024-06-21 09:53:45 +05:00
|
|
|
|
public double WeightOnBit { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-30 11:11:09 +05:00
|
|
|
|
[Column("weight_on_bit_max"), Comment("Нагрузка ограничение, т.")]
|
|
|
|
|
[Range(0, 99)]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Required]
|
2024-06-30 11:11:09 +05:00
|
|
|
|
public double WeightOnBitMax { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-30 11:11:09 +05:00
|
|
|
|
[Column("flow_rate"), Comment("Расход уставка, л/с.")]
|
|
|
|
|
[Range(0, 100)]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Required]
|
2024-06-21 09:53:45 +05:00
|
|
|
|
public double FlowRate { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-30 11:11:09 +05:00
|
|
|
|
[Column("flow_rate_max"), Comment("Расход ограничение, л/с.")]
|
|
|
|
|
[Range(0, 100)]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Required]
|
2024-06-30 11:11:09 +05:00
|
|
|
|
public double FlowRateMax { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-21 09:53:45 +05:00
|
|
|
|
[Column("spring"), Comment("Расчётная пружина, градус")]
|
2024-06-30 11:11:09 +05:00
|
|
|
|
[Range(0, 9999)]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Required]
|
2024-06-21 09:53:45 +05:00
|
|
|
|
public double Spring { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-30 11:11:09 +05:00
|
|
|
|
[Column("buckling"), Comment("Складывание инструмента, м.")]
|
|
|
|
|
[Range(0, 9999)]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Required]
|
2024-06-30 11:11:09 +05:00
|
|
|
|
public double Buckling { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
|
|
|
|
[Column("note"), Comment("Примечание"), StringLength(1024)]
|
|
|
|
|
public string Note { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[ForeignKey(nameof(IdPrevious))]
|
2024-06-30 21:02:55 +05:00
|
|
|
|
public virtual ProcessMapPlanSlide? Previous { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
}
|