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_rotor"), Comment("РТК план бурение ротор")]
|
|
|
|
|
public class ProcessMapPlanRotor : ProcessMapPlanBase
|
|
|
|
|
{
|
2024-06-29 20:46:11 +05:00
|
|
|
|
[Column("rop_max"), Comment("Максимально допустимая скорость, м/ч")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0, 800.0)]
|
2024-06-30 21:02:55 +05:00
|
|
|
|
[Required]
|
2024-06-29 20:46:11 +05:00
|
|
|
|
public double RopMax { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-29 20:46:11 +05:00
|
|
|
|
[Column("pressure_max"), Comment("Максимально допустимое давление, атм")]
|
2024-06-30 21:02:55 +05:00
|
|
|
|
[Range(0.0, 400.0)]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Required]
|
2024-07-01 12:03:08 +05:00
|
|
|
|
public double PressureMax { 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.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
|
|
|
|
|
2024-06-29 20:46:11 +05:00
|
|
|
|
[Column("differential_pressure_max"), Comment("Перепад давления, атм. Ограничение")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0.0, 60.0)]
|
|
|
|
|
[Required]
|
2024-06-29 20:46:11 +05:00
|
|
|
|
public double DifferentialPressureMax { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-21 09:53:45 +05:00
|
|
|
|
[Column("weight_on_bit"), Comment("Нагрузка, т. Уставка")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0.0, 99.0)]
|
|
|
|
|
[Required]
|
2024-06-21 09:53:45 +05:00
|
|
|
|
public double WeightOnBit { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-29 20:46:11 +05:00
|
|
|
|
[Column("weight_on_bit_max"), Comment("Нагрузка, т. Ограничение")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0.0, 99.0)]
|
|
|
|
|
[Required]
|
2024-06-29 20:46:11 +05:00
|
|
|
|
public double WeightOnBitMax { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-21 09:53:45 +05:00
|
|
|
|
[Column("top_drive_torque"), Comment("Момент на ВСП, кН*м. Уставка")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0.0, 35.0)]
|
|
|
|
|
[Required]
|
2024-06-21 09:53:45 +05:00
|
|
|
|
public double TopDriveTorque { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-29 20:46:11 +05:00
|
|
|
|
[Column("top_drive_torque_max"), Comment("Момент на ВСП, кН*м. Ограничение")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0.0, 35.0)]
|
|
|
|
|
[Required]
|
2024-06-29 20:46:11 +05:00
|
|
|
|
public double TopDriveTorqueMax { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-29 20:46:11 +05:00
|
|
|
|
[Column("rpm"), Comment("Обороты на ВСП, об/мин. Уставка")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0.0, 270.0)]
|
|
|
|
|
[Required]
|
2024-06-29 20:46:11 +05:00
|
|
|
|
public double Rpm { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-29 20:46:11 +05:00
|
|
|
|
[Column("rpm_max"), Comment("Обороты на ВСП, об/мин. Ограничение")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0.0, 270.0)]
|
|
|
|
|
[Required]
|
2024-06-29 20:46:11 +05:00
|
|
|
|
public double RpmMax { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
2024-06-21 09:53:45 +05:00
|
|
|
|
[Column("flow_rate"), Comment("Расход л/с. Уставка")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0.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
|
|
|
|
|
2024-06-29 20:46:11 +05:00
|
|
|
|
[Column("flow_rate_max"), Comment("Расход л/с. Ограничение")]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
[Range(0.0, 100.0)]
|
|
|
|
|
[Required]
|
2024-06-29 20:46:11 +05:00
|
|
|
|
public double FlowRateMax { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
|
|
|
|
|
[Column("note"), Comment("Примечание"), StringLength(1024)]
|
2024-06-29 20:46:11 +05:00
|
|
|
|
[Required]
|
2024-06-11 10:31:03 +05:00
|
|
|
|
public string Note { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[ForeignKey(nameof(IdPrevious))]
|
2024-06-30 21:02:55 +05:00
|
|
|
|
public virtual ProcessMapPlanRotor? Previous { get; set; }
|
2024-06-11 10:31:03 +05:00
|
|
|
|
}
|