forked from ddrilling/AsbCloudServer
28 lines
1.2 KiB
C#
28 lines
1.2 KiB
C#
|
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; }
|
|||
|
}
|