2024-06-26 11:42:10 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using AsbCloudDb.Model.ProcessMapPlan;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudDb.Model.ProcessMaps;
|
|
|
|
|
|
2024-06-29 23:24:53 +05:00
|
|
|
|
[Table("t_process_map_shock_test"), Comment("ShockTest")]
|
|
|
|
|
public class ProcessMapPlanShockTest : ProcessMapPlanBase
|
2024-06-26 11:42:10 +05:00
|
|
|
|
{
|
2024-06-29 23:32:34 +05:00
|
|
|
|
[Column("stick_slip"), Comment("stickSlip")]
|
2024-06-26 11:42:10 +05:00
|
|
|
|
[Range(0.0, 1000.0)]
|
|
|
|
|
[Required]
|
|
|
|
|
public double StickSlip { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("whirl"), Comment("Whirl")]
|
|
|
|
|
[Range(0.0, 1000.0)]
|
|
|
|
|
[Required]
|
|
|
|
|
public double Whirl { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("axial_vibrations"), Comment("Осевые вибрации")]
|
|
|
|
|
[Range(0.0, 1000.0)]
|
|
|
|
|
[Required]
|
|
|
|
|
public double AxialVibrations { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("combined_vibrations"), Comment("Комбинированные вибрации")]
|
|
|
|
|
[Range(0.0, 1000.0)]
|
|
|
|
|
[Required]
|
|
|
|
|
public double CombinedVibrations { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("weight_on_bit_min"), Comment("Нагрузка минимальная, т")]
|
2024-06-29 23:24:53 +05:00
|
|
|
|
[Range(0.0, 30.0)]
|
2024-06-26 11:42:10 +05:00
|
|
|
|
[Required]
|
|
|
|
|
public double WeightOnBitMin { get; set; }
|
|
|
|
|
|
2024-06-29 23:24:53 +05:00
|
|
|
|
[Column("rpm_min"), Comment("Минимальные обороты на ВСП, об/мин.")]
|
2024-06-26 11:42:10 +05:00
|
|
|
|
[Range(5, 200)]
|
|
|
|
|
[Required]
|
2024-06-29 23:24:53 +05:00
|
|
|
|
public double RpmMin { get; set; }
|
2024-06-26 11:42:10 +05:00
|
|
|
|
|
|
|
|
|
[Column("note"), Comment("Примечание"), StringLength(1024)]
|
|
|
|
|
public string Note { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
[ForeignKey(nameof(IdPrevious))]
|
2024-06-29 23:24:53 +05:00
|
|
|
|
public virtual ProcessMapPlanShockTest? Previous { get; set; }
|
2024-06-26 11:42:10 +05:00
|
|
|
|
}
|