DD.WellWorkover.Cloud/AsbCloudDb/Model/ProcessMapPlan/Operations/ProcessMapPlanTFOrientation.cs

86 lines
2.8 KiB
C#
Raw Permalink Normal View History

using System.ComponentModel.DataAnnotations;
2024-06-25 15:22:32 +05:00
using System.ComponentModel.DataAnnotations.Schema;
using AsbCloudDb.Model.ProcessMapPlan;
using Microsoft.EntityFrameworkCore;
namespace AsbCloudDb.Model.ProcessMapPlan.Operations;
2024-06-25 15:22:32 +05:00
2024-06-30 11:17:10 +05:00
[Table("t_process_map_plan_tf_orientation"), Comment("Выставление")]
public class ProcessMapPlanTFOrientation : ProcessMapPlanBase
2024-06-25 15:22:32 +05:00
{
2024-06-30 11:36:50 +05:00
[Column("tf_setpoint"), Comment("Задание TF, град.")]
2024-06-25 15:22:32 +05:00
[Range(0.0, 360.0)]
[Required]
2024-06-30 11:36:50 +05:00
public double TFSetpoint { get; set; }
2024-06-25 15:22:32 +05:00
2024-06-30 11:36:50 +05:00
[Column("spring"), Comment("Пружина, град.")]
2024-06-25 15:22:32 +05:00
[Range(0.0, 10000.0)]
[Required]
public double Spring { get; set; }
2024-06-30 11:36:50 +05:00
[Column("pressure_max"), Comment("Максимальное давление, атм.")]
2024-06-25 15:22:32 +05:00
[Range(0.0, 400.0)]
[Required]
2024-06-30 11:36:50 +05:00
public double PressureMax { get; set; }
2024-06-25 15:22:32 +05:00
[Column("differential_pressure"), Comment("Перепад давления, атм.")]
[Range(0.0, 60.0)]
[Required]
public double DifferentialPressure { get; set; }
2024-06-30 11:36:50 +05:00
[Column("tight"), Comment("Затяжка, т.")]
2024-06-25 15:22:32 +05:00
[Range(0.0, 20.0)]
[Required]
2024-06-30 11:36:50 +05:00
public double Tight { get; set; }
2024-06-25 15:22:32 +05:00
2024-06-30 11:36:50 +05:00
[Column("slacking_off"), Comment("Посадка, т.")]
2024-06-25 15:22:32 +05:00
[Range(0.0, 20.0)]
[Required]
2024-06-30 11:36:50 +05:00
public double SlackingOff { get; set; }
2024-06-25 15:22:32 +05:00
2024-06-30 11:36:50 +05:00
[Column("torque_max"), Comment("Максимально допустимый момент, кН*м.")]
2024-06-25 15:22:32 +05:00
[Range(0.0, 35.0)]
[Required]
2024-06-30 11:36:50 +05:00
public double TorqueMax { get; set; }
2024-06-25 15:22:32 +05:00
2024-06-30 11:36:50 +05:00
[Column("repetitions_count"), Comment("Количество расхаживаний, шт.")]
2024-06-25 15:22:32 +05:00
[Range(0.0, 99.0)]
[Required]
2024-06-30 11:36:50 +05:00
public int RepetitionsCount { get; set; }
2024-06-25 15:22:32 +05:00
2024-06-30 11:36:50 +05:00
[Column("rop_up"), Comment("Скорость вверх, м/ч.")]
2024-06-25 15:22:32 +05:00
[Range(0.0, 999.0)]
[Required]
2024-06-30 11:36:50 +05:00
public double RopUp { get; set; }
2024-06-25 15:22:32 +05:00
2024-06-30 11:36:50 +05:00
[Column("rop_down"), Comment("Скорость вниз, м/ч.")]
2024-06-25 15:22:32 +05:00
[Range(0.0, 999.0)]
[Required]
2024-06-30 11:36:50 +05:00
public double RopDown { get; set; }
2024-06-25 15:22:32 +05:00
2024-06-30 11:36:50 +05:00
[Column("flow_rate_up"), Comment("Расход вверх, л/с.")]
2024-06-25 15:22:32 +05:00
[Range(0.0, 100.0)]
[Required]
2024-06-30 11:36:50 +05:00
public double FlowRateUp { get; set; }
2024-06-25 15:22:32 +05:00
2024-06-30 11:36:50 +05:00
[Column("flow_rate_down"), Comment("Расход вниз, л/с.")]
2024-06-25 15:22:32 +05:00
[Range(0.0, 100.0)]
[Required]
2024-06-30 11:36:50 +05:00
public double FlowRateDown { get; set; }
2024-06-25 15:22:32 +05:00
2024-06-30 11:36:50 +05:00
[Column("interval"), Comment("Интервал расхаживания, м.")]
2024-06-25 15:22:32 +05:00
[Range(0.0, 30.0)]
[Required]
2024-06-30 11:36:50 +05:00
public double Interval { get; set; }
2024-06-25 15:22:32 +05:00
2024-06-30 11:36:50 +05:00
[Column("stop_point_off_bottom"), Comment("Остановка над забоем, м.")]
2024-06-25 15:22:32 +05:00
[Range(0.0, 10.0)]
[Required]
2024-06-30 11:36:50 +05:00
public double StopPointOffBottom { get; set; }
2024-06-25 15:22:32 +05:00
2024-07-01 10:18:19 +05:00
[Column("note"), Comment("Примечание"), StringLength(1024)]
public string Note { get; set; } = string.Empty;
2024-06-25 15:22:32 +05:00
[ForeignKey(nameof(IdPrevious))]
2024-06-30 11:17:10 +05:00
public virtual ProcessMapPlanTFOrientation? Previous { get; set; }
2024-06-25 15:22:32 +05:00
}