DD.WellWorkover.Cloud/AsbCloudDb/Model/ProcessMapPlan/Operations/ProcessMapPlanRotorRpmAcceleration.cs
2024-07-01 10:18:19 +05:00

36 lines
1.4 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.ProcessMapPlan.Operations;
[Table("t_process_map_plan_rotor_rpm_acceleration"), Comment("Выход на обороты перед ротором")]
public class ProcessMapPlanRotorRpmAcceleration : ProcessMapPlanBase
{
[Column("top_drive_torque"), Comment("Момент на ВСП уставка, кН*м.")]
[Range(0.0, 35.0)]
[Required]
public double TopDriveTorque { get; set; }
[Column("top_drive_torque_max"), Comment("Момент на ВСП ограничение, кН*м.")]
[Range(0.0, 35.0)]
[Required]
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; }
[Column("note"), Comment("Примечание"), StringLength(1024)]
public string Note { get; set; } = string.Empty;
[ForeignKey(nameof(IdPrevious))]
public virtual ProcessMapPlanRotorRpmAcceleration? Previous { get; set; }
}