DD.WellWorkover.Cloud/AsbCloudDb/Model/ProcessMapPlan/ProcessMapPlanFunctionsAnticrashRotation.cs

28 lines
1.2 KiB
C#
Raw Normal View History

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_functions_anticrash_rotation"), Comment("Противоаварийное вращение")]
public class ProcessMapPlanFunctionsAnticrashRotation : ProcessMapPlanBase
{
[Column("min_RPM"), Comment("Минимальные обороты ВСП, об/мин")]
[Range(0.0, 250.0)]
[Required]
public double MinRPM { get; set; }
[Column("min_consumption_starting_flow_rate"), Comment("Минимальный расход для запуска оборотов ВСП, л/сек")]
[Range(1.0, 100.0)]
[Required]
public double MinСonsumptionStartingFlowRate { get; set; }
[Column("top_drive_torque_limit_max"), Comment("Максимально допустимый момент на ВСП при противоаварийном вращении, кН*м")]
[Range(1.0, 35.0)]
[Required]
public double TopDriveTorqueLimitMax { get; set; }
[ForeignKey(nameof(IdPrevious))]
public virtual ProcessMapPlanFunctionsAnticrashRotation? Previous { get; set; }
}