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_operation_tf_orientation"), Comment("Выставление")] public class ProcessMapPlanOperationTFOrientation : ProcessMapPlanBase { [Column("plan_tf"), Comment("План TF, град")] [Range(0.0, 360.0)] [Required] public double planTF { get; set; } [Column("spring"), Comment("Пружина, град ")] [Range(0.0, 10000.0)] [Required] public double Spring { get; set; } [Column("max_pressure"), Comment("Максимальное давление, атм")] [Range(0.0, 400.0)] [Required] public double MaxPressure { get; set; } [Column("differential_pressure"), Comment("Перепад давления, атм.")] [Range(0.0, 60.0)] [Required] public double DifferentialPressure { get; set; } [Column("setpoints_tight"), Comment("Уставки, т., затяжка")] [Range(0.0, 20.0)] [Required] public double SetpointsTight { get; set; } [Column("setpoints_slacking_off"), Comment("Уставки, т., посадка")] [Range(0.0, 20.0)] [Required] public double SetpointsSlackingOff { get; set; } [Column("max_torque"), Comment("Максимально допустимый момент, кН*м.")] [Range(0.0, 35.0)] [Required] public double MaxTorque { get; set; } [Column("reaming1_number_of_repetitions"), Comment("Проработка 1, Количество расхаживаний, шт")] [Range(0.0, 99.0)] [Required] public double Reaming1NumberOfRepetitions { get; set; } [Column("reaming1_rop_up"), Comment("Проработка 1, Скорость, м/ч., Вверх")] [Range(0.0, 999.0)] [Required] public double Reaming1ROPUp { get; set; } [Column("reaming1_rop_down"), Comment("Проработка 1, Скорость, м/ч., Вниз")] [Range(0.0, 999.0)] [Required] public double Reaming1ROPDown { get; set; } [Column("reaming1_flow_rate_up"), Comment("Проработка 1, Расход, л/с., Вверх")] [Range(0.0, 100.0)] [Required] public double Reaming1FlowRateUp { get; set; } [Column("reaming1_flow_rate_down"), Comment("Проработка 1, Расход, л/с., Вниз")] [Range(0.0, 100.0)] [Required] public double Reaming1FlowRateDown { get; set; } [Column("reaming1_interval"), Comment("Проработка 1, Интервал расхаживания, м.")] [Range(0.0, 30.0)] [Required] public double Reaming1Interval { get; set; } [Column("reaming1_stop_point_off_bottom"), Comment("Остановка над забоем, м.")] [Range(0.0, 10.0)] [Required] public double Reaming1StopPointOffBottom { get; set; } [ForeignKey(nameof(IdPrevious))] public virtual ProcessMapPlanOperationTFOrientation? Previous { get; set; } }