2024-07-04 11:02:45 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2024-06-26 17:09:30 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using AsbCloudDb.Model.ProcessMapPlan;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
2024-06-30 21:02:55 +05:00
|
|
|
|
namespace AsbCloudDb.Model.ProcessMapPlan.Functions;
|
2024-06-26 17:09:30 +05:00
|
|
|
|
|
2024-06-29 21:10:12 +05:00
|
|
|
|
[Table("t_process_map_plan_anti_crash_rotation"), Comment("Противоаварийное вращение")]
|
|
|
|
|
public class ProcessMapPlanAntiCrashRotation : ProcessMapPlanBase
|
2024-06-26 17:09:30 +05:00
|
|
|
|
{
|
2024-06-29 20:58:35 +05:00
|
|
|
|
[Column("top_drive_rpm_min"), Comment("Минимальные обороты ВСП, об/мин")]
|
2024-06-26 17:09:30 +05:00
|
|
|
|
[Range(0.0, 250.0)]
|
|
|
|
|
[Required]
|
2024-06-29 20:58:35 +05:00
|
|
|
|
public double TopDriveRpmMin { get; set; }
|
2024-06-26 17:09:30 +05:00
|
|
|
|
|
2024-06-29 20:58:35 +05:00
|
|
|
|
[Column("top_drive_start_min_flow_rate"), Comment("Минимальный расход для запуска оборотов ВСП, л/сек")]
|
|
|
|
|
[Range(0.0, 100.0)]
|
2024-06-26 17:09:30 +05:00
|
|
|
|
[Required]
|
2024-06-29 20:58:35 +05:00
|
|
|
|
public double TopDriveStartMinFlowRate { get; set; }
|
2024-06-26 17:09:30 +05:00
|
|
|
|
|
2024-06-29 20:58:35 +05:00
|
|
|
|
[Column("top_drive_torque_max"), Comment("Максимально допустимый момент на ВСП при противоаварийном вращении, кН*м")]
|
2024-06-26 17:09:30 +05:00
|
|
|
|
[Range(1.0, 35.0)]
|
|
|
|
|
[Required]
|
2024-06-29 20:58:35 +05:00
|
|
|
|
public double TopDriveTorqueMax { get; set; }
|
2024-06-26 17:09:30 +05:00
|
|
|
|
|
2024-07-01 10:18:19 +05:00
|
|
|
|
[Column("note"), Comment("Примечание"), StringLength(1024)]
|
|
|
|
|
public string Note { get; set; } = string.Empty;
|
|
|
|
|
|
2024-06-26 17:09:30 +05:00
|
|
|
|
[ForeignKey(nameof(IdPrevious))]
|
2024-06-29 21:10:12 +05:00
|
|
|
|
public virtual ProcessMapPlanAntiCrashRotation? Previous { get; set; }
|
2024-06-26 17:09:30 +05:00
|
|
|
|
}
|