2024-06-11 10:31:03 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using AsbCloudDb.Model.ProcessMapPlan;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudDb.Model.ProcessMaps;
|
|
|
|
|
|
|
|
|
|
[Table("t_process_map_plan_slide"), Comment("РТК план бурение слайд")]
|
|
|
|
|
public class ProcessMapPlanSlide : ProcessMapPlanBase
|
|
|
|
|
{
|
2024-06-21 09:53:45 +05:00
|
|
|
|
[Column("rop_limit_max"), Comment("Максимально допустимая скорость, м/ч")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0, 800.0)]
|
|
|
|
|
[Required]
|
2024-06-21 09:53:45 +05:00
|
|
|
|
public double RopLimitMax { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-21 09:53:45 +05:00
|
|
|
|
[Column("pressure_limit_max"), Comment("Максимально допустимое давление, атм")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0, 400.0)]
|
|
|
|
|
[Required]
|
2024-06-21 09:53:45 +05:00
|
|
|
|
public double PressureLimitMax { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-21 09:53:45 +05:00
|
|
|
|
[Column("differential_pressure"), Comment("Перепад давления, атм. Уставка")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0, 60.0)]
|
|
|
|
|
[Required]
|
2024-06-21 09:53:45 +05:00
|
|
|
|
public double DifferentialPressure { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
|
|
|
|
[Column("differential_pressure_limit_max"), Comment("Перепад давления, атм. Ограничение")]
|
|
|
|
|
[Range(0, 60.0)]
|
|
|
|
|
[Required]
|
|
|
|
|
public double DifferentialPressureLimitMax { get; set; }
|
|
|
|
|
|
2024-06-21 09:53:45 +05:00
|
|
|
|
[Column("weight_on_bit"), Comment("Нагрузка, т. Уставка")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0, 50.0)]
|
|
|
|
|
[Required]
|
2024-06-21 09:53:45 +05:00
|
|
|
|
public double WeightOnBit { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
|
|
|
|
[Column("weight_on_bit_limit_max"), Comment("Нагрузка, т. Ограничение")]
|
|
|
|
|
[Range(0, 50.0)]
|
|
|
|
|
[Required]
|
|
|
|
|
public double WeightOnBitLimitMax { get; set; }
|
|
|
|
|
|
2024-06-21 09:53:45 +05:00
|
|
|
|
[Column("flow_rate"), Comment("Расход л/с. Уставка")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0, 100.0)]
|
|
|
|
|
[Required]
|
2024-06-21 09:53:45 +05:00
|
|
|
|
public double FlowRate { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
|
|
|
|
[Column("flow_rate_limit_max"), Comment("Расход л/с. Ограничение")]
|
|
|
|
|
[Range(0, 100.0)]
|
|
|
|
|
[Required]
|
|
|
|
|
public double FlowRateLimitMax { get; set; }
|
|
|
|
|
|
2024-06-21 09:53:45 +05:00
|
|
|
|
[Column("spring"), Comment("Расчётная пружина, градус")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0, 9999.9)]
|
|
|
|
|
[Required]
|
2024-06-21 09:53:45 +05:00
|
|
|
|
public double Spring { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
|
|
|
|
[Column("tool_buckling"), Comment("Складывание инструмента, м")]
|
|
|
|
|
[Range(0, 9999.9)]
|
|
|
|
|
[Required]
|
|
|
|
|
public double ToolBuckling { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("note"), Comment("Примечание"), StringLength(1024)]
|
|
|
|
|
public string Note { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[ForeignKey(nameof(IdPrevious))]
|
2024-06-21 09:53:45 +05:00
|
|
|
|
public virtual ProcessMapPlanSlide? Previous { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
}
|