2024-06-25 17:00:58 +05:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using AsbCloudDb.Model.ProcessMapPlan;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudDb.Model.ProcessMaps;
|
|
|
|
|
|
2024-06-26 09:59:44 +05:00
|
|
|
|
[Table("t_process_map_plan_operation_switch_mode"), Comment("Выход на режим")]
|
2024-06-25 17:11:30 +05:00
|
|
|
|
public class ProcessMapPlanOperationSwitchMode : ProcessMapPlanBase
|
2024-06-25 17:00:58 +05:00
|
|
|
|
{
|
2024-06-26 09:59:44 +05:00
|
|
|
|
[Column("exit_time_consumption"), Comment("Выход на плановый расход, время выхода буровых насосов на плановый расход, сек.")]
|
|
|
|
|
[Range(0.0, 3600.0)]
|
|
|
|
|
[Required]
|
|
|
|
|
public double ExitTimeConsumption { get; set; }
|
2024-06-25 17:00:58 +05:00
|
|
|
|
|
2024-06-26 09:59:44 +05:00
|
|
|
|
[Column("consumption_flow_rate"), Comment("Выход на плановый расход, расход, л/с")]
|
|
|
|
|
[Range(0.0, 100.0)]
|
|
|
|
|
[Required]
|
|
|
|
|
public double ConsumptionFlowRate { get; set; }
|
2024-06-25 17:00:58 +05:00
|
|
|
|
|
2024-06-26 09:59:44 +05:00
|
|
|
|
[Column("pressure_limit_Max"), Comment("Максимально допустимое давление, атм.")]
|
|
|
|
|
[Range(0.0, 400.0)]
|
|
|
|
|
[Required]
|
|
|
|
|
public double PressureLimitMax { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("сomment"), Comment("Комментарий")]
|
|
|
|
|
public double Comment { get; set; }
|
2024-06-25 17:00:58 +05:00
|
|
|
|
|
|
|
|
|
[ForeignKey(nameof(IdPrevious))]
|
2024-06-25 17:11:30 +05:00
|
|
|
|
public virtual ProcessMapPlanOperationSwitchMode? Previous { get; set; }
|
2024-06-25 17:00:58 +05:00
|
|
|
|
}
|