Добавление радиуса цели в плановую траекторию

This commit is contained in:
Olga Nemt 2023-05-30 09:52:36 +05:00
parent 3ccab7b40a
commit 9530982794
4 changed files with 8126 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,26 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace AsbCloudDb.Migrations
{
public partial class Add_RadiusTarget_To_PlannedTrajectory : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<double>(
name: "radius_target",
table: "t_planned_trajectory",
type: "double precision",
nullable: true,
comment: "Радиус цели");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "radius_target",
table: "t_planned_trajectory");
}
}
}

View File

@ -2073,6 +2073,11 @@ namespace AsbCloudDb.Migrations
.HasColumnName("orifice_offset")
.HasComment("Смещение от устья");
b.Property<double?>("RadiusTarget")
.HasColumnType("double precision")
.HasColumnName("radius_target")
.HasComment("Радиус цели");
b.Property<double>("SpatialIntensity")
.HasColumnType("double precision")
.HasColumnName("spatial_intensity")

View File

@ -65,6 +65,9 @@ namespace AsbCloudDb.Model
[Column("comment"), Comment("Комментарии")]
public string? Comment { get; set; }
[Column("radius_target"), Comment("Радиус цели")]
public double? RadiusTarget { get; set; }
[ForeignKey(nameof(IdWell))]
public virtual Well Well { get; set; } = null!;