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

28 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
}