delete old category - migrations

This commit is contained in:
eugeniy_ivanov 2022-12-03 00:59:27 +05:00
parent 6ed0dda96d
commit 685691ea6d
4 changed files with 7529 additions and 334 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,564 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace AsbCloudDb.Migrations
{
public partial class delete_old_WellOperationCategory : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 2);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 3);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 4);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 5);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 6);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 7);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 8);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 9);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 11);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 12);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 13);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 15);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 21);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 23);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1001);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1002);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1003);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1015);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1016);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1017);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1019);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1021);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1022);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1028);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1029);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1031);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1033);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1034);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1035);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1037);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1038);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1039);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1040);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1041);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1042);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1043);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1051);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1053);
migrationBuilder.DeleteData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1054);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 14,
column: "id_parent",
value: 4004);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 18,
column: "id_parent",
value: 4003);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 19,
column: "id_parent",
value: 4003);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 20,
column: "id_parent",
value: 4003);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 22,
column: "id_parent",
value: 4012);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1004,
column: "id_parent",
value: 4013);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1005,
column: "id_parent",
value: 4013);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1007,
column: "id_parent",
value: 4013);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1008,
column: "id_parent",
value: 4007);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1013,
column: "id_parent",
value: 4013);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1018,
column: "id_parent",
value: 4013);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1020,
column: "id_parent",
value: 4005);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1025,
column: "id_parent",
value: 4000);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1026,
column: "id_parent",
value: 4000);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1027,
column: "id_parent",
value: 4012);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1030,
column: "id_parent",
value: 4012);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1032,
column: "id_parent",
value: 4005);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1044,
column: "id_parent",
value: 4013);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1046,
column: "id_parent",
value: 4005);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1047,
column: "id_parent",
value: 4005);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1048,
column: "id_parent",
value: 4006);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1050,
column: "id_parent",
value: 4006);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 14,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 18,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 19,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 20,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 22,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1004,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1005,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1007,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1008,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1013,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1018,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1020,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1025,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1026,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1027,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1030,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1032,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1044,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1046,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1047,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1048,
column: "id_parent",
value: null);
migrationBuilder.UpdateData(
table: "t_well_operation_category",
keyColumn: "id",
keyValue: 1050,
column: "id_parent",
value: null);
migrationBuilder.InsertData(
table: "t_well_operation_category",
columns: new[] { "id", "id_parent", "key_value_name", "key_value_units", "name" },
values: new object[,]
{
{ 2, null, "МСП", "м/ч", "Роторное бурение" },
{ 3, null, "МСП", "м/ч", "Слайдирование" },
{ 4, null, "dT", "мин", "Подъем с проработкой" },
{ 5, null, "dT", "мин", "Спуск с проработкой" },
{ 6, null, "dT", "мин", "Подъем с промывкой" },
{ 7, null, "dT", "мин", "Спуск с промывкой" },
{ 8, null, "dT", "мин", "Спуск в скважину" },
{ 9, null, "dT", "мин", "Спуск с вращением" },
{ 11, null, "dT", "мин", "Подъем с вращением" },
{ 12, null, "dT", "мин", "Промывка в покое" },
{ 13, null, "dT", "мин", "Промывка с вращением" },
{ 15, null, "dT", "мин", "Неподвижное состояние" },
{ 21, null, "dT", "мин", "Статический замер телесистемы" },
{ 23, null, "dT", "мин", "Шаблонировка при бурении" },
{ 1001, null, "МСП", "м/ч", "Бурение" },
{ 1002, null, "dT", "мин", "ГИС" },
{ 1003, null, "dT", "мин", "ГФР" },
{ 1015, null, "dT", "мин", "Опрессовка ВЗД" },
{ 1016, null, "dT", "мин", "Перевод скв на другой тип промывочной жидкости" },
{ 1017, null, "dT", "мин", "Перезапись каротажа" },
{ 1019, null, "dT", "мин", "Наращивание, промывка" },
{ 1021, null, "dT", "мин", "Подъем инструмента с промывкой" },
{ 1022, null, "dT", "мин", "Обратная проработка" },
{ 1028, null, "dT", "мин", "Промежуточная промывка" },
{ 1029, null, "dT", "мин", "Прокачка пачек" },
{ 1031, null, "dT", "мин", "Ремонт" },
{ 1033, null, "dT", "мин", "Спуск инструмента с промывкой" },
{ 1034, null, "dT", "мин", "Прямая проработка" },
{ 1035, null, "dT", "мин", "Принудительная проработка" },
{ 1037, null, "dT", "мин", "Тех СПО-подъем" },
{ 1038, null, "dT", "мин", "Тех СПО-спуск" },
{ 1039, null, "dT", "мин", "Техническое обслуживание" },
{ 1040, null, "dT", "мин", "Цементаж" },
{ 1041, null, "dT", "мин", "Шаблонировка ствола" },
{ 1042, null, "dT", "мин", "Геологическое осложнение" },
{ 1043, null, "dT", "мин", "НПВ" },
{ 1051, null, "dT", "мин", "Замер ТС" },
{ 1053, null, "dT", "мин", "Циркуляция и Обработка БР" },
{ 1054, null, "dT", "мин", "Срезка ствола" }
});
}
}
}

View File

@ -4335,100 +4335,18 @@ namespace AsbCloudDb.Migrations
b.HasComment("Справочник операций на скважине");
b.HasData(
new
{
Id = 2,
KeyValueName = "МСП",
KeyValueUnits = "м/ч",
Name = "Роторное бурение"
},
new
{
Id = 3,
KeyValueName = "МСП",
KeyValueUnits = "м/ч",
Name = "Слайдирование"
},
new
{
Id = 4,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем с проработкой"
},
new
{
Id = 5,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск с проработкой"
},
new
{
Id = 6,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем с промывкой"
},
new
{
Id = 7,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск с промывкой"
},
new
{
Id = 8,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск в скважину"
},
new
{
Id = 9,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск с вращением"
},
new
{
Id = 11,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем с вращением"
},
new
{
Id = 12,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка в покое"
},
new
{
Id = 13,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка с вращением"
},
new
{
Id = 14,
IdParent = 4004,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Удержание в клиньях"
},
new
{
Id = 15,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Неподвижное состояние"
},
new
{
Id = 18,
IdParent = 4003,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Проработка перед наращиванием"
@ -4436,6 +4354,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 19,
IdParent = 4003,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Шаблонировка перед наращиванием"
@ -4443,55 +4362,23 @@ namespace AsbCloudDb.Migrations
new
{
Id = 20,
IdParent = 4003,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка перед наращиванием"
},
new
{
Id = 21,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Статический замер телесистемы"
},
new
{
Id = 22,
IdParent = 4012,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка"
},
new
{
Id = 23,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Шаблонировка при бурении"
},
new
{
Id = 1001,
KeyValueName = "МСП",
KeyValueUnits = "м/ч",
Name = "Бурение"
},
new
{
Id = 1002,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ГИС"
},
new
{
Id = 1003,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ГФР"
},
new
{
Id = 1004,
IdParent = 4013,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Монтаж ПВО"
@ -4499,6 +4386,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 1005,
IdParent = 4013,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Демонтаж ПВО"
@ -4506,6 +4394,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 1007,
IdParent = 4013,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Оборудование устья"
@ -4513,6 +4402,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 1008,
IdParent = 4007,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ОЗЦ"
@ -4520,69 +4410,31 @@ namespace AsbCloudDb.Migrations
new
{
Id = 1013,
IdParent = 4013,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Опрессовка ПВО"
},
new
{
Id = 1015,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Опрессовка ВЗД"
},
new
{
Id = 1016,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Перевод скв на другой тип промывочной жидкости"
},
new
{
Id = 1017,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Перезапись каротажа"
},
new
{
Id = 1018,
IdParent = 4013,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Перетяжка талевого каната"
},
new
{
Id = 1019,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Наращивание, промывка"
},
new
{
Id = 1020,
IdParent = 4005,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем инструмента"
},
new
{
Id = 1021,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем инструмента с промывкой"
},
new
{
Id = 1022,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Обратная проработка"
},
new
{
Id = 1025,
IdParent = 4000,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка КНБК"
@ -4590,6 +4442,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 1026,
IdParent = 4000,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Разборка КНБК"
@ -4597,118 +4450,31 @@ namespace AsbCloudDb.Migrations
new
{
Id = 1027,
IdParent = 4012,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка"
},
new
{
Id = 1028,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промежуточная промывка"
},
new
{
Id = 1029,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Прокачка пачек"
},
new
{
Id = 1030,
IdParent = 4012,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Разбуривание тех.оснастки"
},
new
{
Id = 1031,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ремонт"
},
new
{
Id = 1032,
IdParent = 4005,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск инструмента"
},
new
{
Id = 1033,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск инструмента с промывкой"
},
new
{
Id = 1034,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Прямая проработка"
},
new
{
Id = 1035,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Принудительная проработка"
},
new
{
Id = 1037,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Тех СПО-подъем"
},
new
{
Id = 1038,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Тех СПО-спуск"
},
new
{
Id = 1039,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Техническое обслуживание"
},
new
{
Id = 1040,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Цементаж"
},
new
{
Id = 1041,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Шаблонировка ствола"
},
new
{
Id = 1042,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Геологическое осложнение"
},
new
{
Id = 1043,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "НПВ"
},
new
{
Id = 1044,
IdParent = 4013,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ВМР"
@ -4716,6 +4482,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 1046,
IdParent = 4005,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск КНБК"
@ -4723,6 +4490,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 1047,
IdParent = 4005,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем КНБК"
@ -4730,6 +4498,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 1048,
IdParent = 4006,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск ОК"
@ -4737,32 +4506,12 @@ namespace AsbCloudDb.Migrations
new
{
Id = 1050,
IdParent = 4006,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка при спуске ОК"
},
new
{
Id = 1051,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Замер ТС"
},
new
{
Id = 1053,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Циркуляция и Обработка БР"
},
new
{
Id = 1054,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Срезка ствола"
},
new
{
Id = 2001,
IdParent = 4003,

View File

@ -4,68 +4,29 @@
{
public override WellOperationCategory[] GetData() => new WellOperationCategory[]{
// Автоматически определяемые операции
new () {Id = 2, Name = "Роторное бурение", KeyValueName = "МСП", KeyValueUnits = "м/ч" },
new () {Id = 3, Name = "Слайдирование", KeyValueName = "МСП", KeyValueUnits = "м/ч" },
new () {Id = 4, Name = "Подъем с проработкой", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 5, Name = "Спуск с проработкой", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 6, Name = "Подъем с промывкой", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 7, Name = "Спуск с промывкой", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 8, Name = "Спуск в скважину", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 9, Name = "Спуск с вращением", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 11, Name = "Подъем с вращением", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 12, Name = "Промывка в покое", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 13, Name = "Промывка с вращением", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 14, Name = "Удержание в клиньях", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 15, Name = "Неподвижное состояние", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 18, Name = "Проработка перед наращиванием", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 19, Name = "Шаблонировка перед наращиванием", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 20, Name = "Промывка перед наращиванием", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 21, Name = "Статический замер телесистемы", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 22, Name = "Промывка", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 23, Name = "Шаблонировка при бурении", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 14, IdParent = 4004, Name = "Удержание в клиньях" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 18, IdParent = 4003, Name = "Проработка перед наращиванием" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 19, IdParent = 4003, Name = "Шаблонировка перед наращиванием" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 20, IdParent = 4003, Name = "Промывка перед наращиванием" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 22, IdParent = 4012 , Name = "Промывка" , KeyValueName = "dT", KeyValueUnits = "мин" },
// Операции ручного ввода
new () {Id = 1001, Name = "Бурение", KeyValueName = "МСП", KeyValueUnits = "м/ч" },
new () {Id = 1002, Name = "ГИС", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1003, Name = "ГФР", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1004, Name = "Монтаж ПВО", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1005, Name = "Демонтаж ПВО", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1007, Name = "Оборудование устья", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1008, Name = "ОЗЦ", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1013, Name = "Опрессовка ПВО", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1015, Name = "Опрессовка ВЗД", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1016, Name = "Перевод скв на другой тип промывочной жидкости", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1017, Name = "Перезапись каротажа", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1018, Name = "Перетяжка талевого каната", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1019, Name = "Наращивание, промывка", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1020, Name = "Подъем инструмента", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1021, Name = "Подъем инструмента с промывкой", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1022, Name = "Обратная проработка", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1025, Name = "Сборка КНБК", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1026, Name = "Разборка КНБК", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1027, Name = "Промывка", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1028, Name = "Промежуточная промывка", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1029, Name = "Прокачка пачек", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1030, Name = "Разбуривание тех.оснастки", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1031, Name = "Ремонт", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1032, Name = "Спуск инструмента", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1033, Name = "Спуск инструмента с промывкой", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1034, Name = "Прямая проработка", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1035, Name = "Принудительная проработка", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1037, Name = "Тех СПО-подъем", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1038, Name = "Тех СПО-спуск", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1039, Name = "Техническое обслуживание", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1040, Name = "Цементаж", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1041, Name = "Шаблонировка ствола", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1042, Name = "Геологическое осложнение", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1043, Name = "НПВ", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1044, Name = "ВМР", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1046, Name = "Спуск КНБК", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1047, Name = "Подъем КНБК", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1048, Name = "Спуск ОК", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1050, Name = "Промывка при спуске ОК", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1051, Name = "Замер ТС", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1053, Name = "Циркуляция и Обработка БР", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1054, Name = "Срезка ствола", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1004, IdParent = 4013, Name = "Монтаж ПВО" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1005, IdParent = 4013, Name = "Демонтаж ПВО" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1007, IdParent = 4013, Name = "Оборудование устья" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1008, IdParent = 4007, Name = "ОЗЦ" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1013, IdParent = 4013, Name = "Опрессовка ПВО" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1018, IdParent = 4013, Name = "Перетяжка талевого каната" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1020, IdParent = 4005, Name = "Подъем инструмента" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1025, IdParent = 4000, Name = "Сборка КНБК" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1026, IdParent = 4000, Name = "Разборка КНБК" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1027, IdParent = 4012, Name = "Промывка" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1030, IdParent = 4012, Name = "Разбуривание тех.оснастки" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1032, IdParent = 4005, Name = "Спуск инструмента" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1044, IdParent = 4013, Name = "ВМР" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1046, IdParent = 4005, Name = "Спуск КНБК" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1047, IdParent = 4005, Name = "Подъем КНБК" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1048, IdParent = 4006, Name = "Спуск ОК" , KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 1050, IdParent = 4006, Name = "Промывка при спуске ОК" , KeyValueName = "dT", KeyValueUnits = "мин" },
//Добавленные согласно постановке задачи
new () {Id = 2001 ,IdParent=4003, Name = "Проработка во время бурения", KeyValueName = "dT", KeyValueUnits = "мин" },
new () {Id = 2002 ,IdParent=4003, Name = "Шаблонировка во время бурения", KeyValueName = "dT", KeyValueUnits = "мин" },