forked from ddrilling/AsbCloudServer
Spin master -> Осцилляция
Torque master -> Демпфер
This commit is contained in:
parent
1f293dfcf9
commit
319967c00c
8814
AsbCloudDb/Migrations/20231101110412_Update_EntityFillerSubsystem.Designer.cs
generated
Normal file
8814
AsbCloudDb/Migrations/20231101110412_Update_EntityFillerSubsystem.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,43 @@
|
|||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace AsbCloudDb.Migrations
|
||||||
|
{
|
||||||
|
public partial class Update_EntityFillerSubsystem : Migration
|
||||||
|
{
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.UpdateData(
|
||||||
|
table: "t_subsystem",
|
||||||
|
keyColumn: "id",
|
||||||
|
keyValue: 65536,
|
||||||
|
columns: new[] { "description", "name" },
|
||||||
|
values: new object[] { "Осцилляция", "Осцилляция" });
|
||||||
|
|
||||||
|
migrationBuilder.UpdateData(
|
||||||
|
table: "t_subsystem",
|
||||||
|
keyColumn: "id",
|
||||||
|
keyValue: 65537,
|
||||||
|
columns: new[] { "description", "name" },
|
||||||
|
values: new object[] { "Демпфер", "Демпфер" });
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.UpdateData(
|
||||||
|
table: "t_subsystem",
|
||||||
|
keyColumn: "id",
|
||||||
|
keyValue: 65536,
|
||||||
|
columns: new[] { "description", "name" },
|
||||||
|
values: new object[] { "Spin master", "Spin master" });
|
||||||
|
|
||||||
|
migrationBuilder.UpdateData(
|
||||||
|
table: "t_subsystem",
|
||||||
|
keyColumn: "id",
|
||||||
|
keyValue: 65537,
|
||||||
|
columns: new[] { "description", "name" },
|
||||||
|
values: new object[] { "Torque master", "Torque master" });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -4568,14 +4568,14 @@ namespace AsbCloudDb.Migrations
|
|||||||
new
|
new
|
||||||
{
|
{
|
||||||
Id = 65536,
|
Id = 65536,
|
||||||
Description = "Spin master",
|
Description = "Осцилляция",
|
||||||
Name = "Spin master"
|
Name = "Осцилляция"
|
||||||
},
|
},
|
||||||
new
|
new
|
||||||
{
|
{
|
||||||
Id = 65537,
|
Id = 65537,
|
||||||
Description = "Torque master",
|
Description = "Демпфер",
|
||||||
Name = "Torque master"
|
Name = "Демпфер"
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@ namespace AsbCloudDb.Model.DefaultData
|
|||||||
new () {Id = 12, Name = "АПД слайд", Description = "Режим работы \"Бурение в слайде\""},
|
new () {Id = 12, Name = "АПД слайд", Description = "Режим работы \"Бурение в слайде\""},
|
||||||
new () {Id = 2, Name = "MSE", Description = "Алгоритм поиска оптимальных параметров бурения САУБ"},
|
new () {Id = 2, Name = "MSE", Description = "Алгоритм поиска оптимальных параметров бурения САУБ"},
|
||||||
//Spin master - id подсистем с 65_536 до 131_071
|
//Spin master - id подсистем с 65_536 до 131_071
|
||||||
new () {Id = 65536, Name = "Spin master", Description = "Spin master"},
|
new () {Id = 65536, Name = "Осцилляция", Description = "Осцилляция"},
|
||||||
new () {Id = 65537, Name = "Torque master", Description = "Torque master"}
|
new () {Id = 65537, Name = "Демпфер", Description = "Демпфер"}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user