2024-06-26 15:17:24 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using AsbCloudDb.Model.ProcessMapPlan;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
2024-06-30 21:02:55 +05:00
|
|
|
|
namespace AsbCloudDb.Model.ProcessMapPlan.Operations;
|
2024-06-26 15:17:24 +05:00
|
|
|
|
|
2024-06-30 13:53:31 +05:00
|
|
|
|
[Table("t_process_map_plan_rotor_rpm_acceleration"), Comment("Выход на обороты перед ротором")]
|
|
|
|
|
public class ProcessMapPlanRotorRpmAcceleration : ProcessMapPlanBase
|
2024-06-26 15:17:24 +05:00
|
|
|
|
{
|
2024-07-01 10:18:19 +05:00
|
|
|
|
[Column("top_drive_torque"), Comment("Момент на ВСП уставка, кН*м.")]
|
|
|
|
|
[Range(0.0, 35.0)]
|
2024-06-26 15:17:24 +05:00
|
|
|
|
[Required]
|
2024-07-01 10:18:19 +05:00
|
|
|
|
public double TopDriveTorque { get; set; }
|
2024-06-26 15:17:24 +05:00
|
|
|
|
|
2024-07-01 10:18:19 +05:00
|
|
|
|
[Column("top_drive_torque_max"), Comment("Момент на ВСП ограничение, кН*м.")]
|
|
|
|
|
[Range(0.0, 35.0)]
|
2024-06-26 15:17:24 +05:00
|
|
|
|
[Required]
|
2024-07-01 10:18:19 +05:00
|
|
|
|
public double TopDriveTorqueMax { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("rpm"), Comment("Обороты на ВСП уставка, об/мин.")]
|
|
|
|
|
[Range(0.0, 270.0)]
|
|
|
|
|
[Required]
|
|
|
|
|
public double Rpm { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("rpm_max"), Comment("Обороты на ВСП ограничение, об/мин.")]
|
|
|
|
|
[Range(0.0, 270.0)]
|
|
|
|
|
[Required]
|
|
|
|
|
public double RpmMax { get; set; }
|
2024-06-26 15:17:24 +05:00
|
|
|
|
|
|
|
|
|
[Column("note"), Comment("Примечание"), StringLength(1024)]
|
|
|
|
|
public string Note { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[ForeignKey(nameof(IdPrevious))]
|
2024-06-30 13:53:31 +05:00
|
|
|
|
public virtual ProcessMapPlanRotorRpmAcceleration? Previous { get; set; }
|
2024-06-26 15:17:24 +05:00
|
|
|
|
}
|