From e1c80c65b6c88160a3cfe575cd24f8ab415d000d Mon Sep 17 00:00:00 2001 From: Olga Nemt Date: Wed, 26 Jun 2024 09:59:44 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=83=D1=88=20=D1=84=D0=B0=D0=B9=D0=BB?= =?UTF-8?q?=D0=B0=20ProcessMapPlanOperationSwitchMode.cs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ProcessMapPlanOperationSwitchMode.cs | 23 +++++++++++++------ 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/AsbCloudDb/Model/ProcessMapPlan/ProcessMapPlanOperationSwitchMode.cs b/AsbCloudDb/Model/ProcessMapPlan/ProcessMapPlanOperationSwitchMode.cs index 78351caf..e47c218b 100644 --- a/AsbCloudDb/Model/ProcessMapPlan/ProcessMapPlanOperationSwitchMode.cs +++ b/AsbCloudDb/Model/ProcessMapPlan/ProcessMapPlanOperationSwitchMode.cs @@ -5,17 +5,26 @@ using Microsoft.EntityFrameworkCore; namespace AsbCloudDb.Model.ProcessMaps; -[Table("t_process_map_plan_section"), Comment("Конструкция скважины")] +[Table("t_process_map_plan_operation_switch_mode"), Comment("Выход на режим")] public class ProcessMapPlanOperationSwitchMode : ProcessMapPlanBase { - [Column("outer_diameter"), Comment("Диаметр секции, мм., наружный")] - [Range(0.0, 9999.9)] - public double OuterDiameter { get; set; } + [Column("exit_time_consumption"), Comment("Выход на плановый расход, время выхода буровых насосов на плановый расход, сек.")] + [Range(0.0, 3600.0)] + [Required] + public double ExitTimeConsumption { get; set; } - [Column("inner_diameter"), Comment("Диаметр секции, мм., внутренний")] - [Range(0.0, 9999.9)] - public double InnerDiameter { get; set; } + [Column("consumption_flow_rate"), Comment("Выход на плановый расход, расход, л/с")] + [Range(0.0, 100.0)] + [Required] + public double ConsumptionFlowRate { get; set; } + [Column("pressure_limit_Max"), Comment("Максимально допустимое давление, атм.")] + [Range(0.0, 400.0)] + [Required] + public double PressureLimitMax { get; set; } + + [Column("сomment"), Comment("Комментарий")] + public double Comment { get; set; } [ForeignKey(nameof(IdPrevious))] public virtual ProcessMapPlanOperationSwitchMode? Previous { get; set; }