diff --git a/AsbCloudDb/Migrations/20240404064028_Add_NewWellOperationCategories.cs b/AsbCloudDb/Migrations/20240404064028_Add_NewWellOperationCategories.cs
deleted file mode 100644
index 396700c4..00000000
--- a/AsbCloudDb/Migrations/20240404064028_Add_NewWellOperationCategories.cs
+++ /dev/null
@@ -1,72 +0,0 @@
-using Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
-
-namespace AsbCloudDb.Migrations
-{
- ///
- public partial class Add_NewWellOperationCategories : Migration
- {
- ///
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.InsertData(
- table: "t_well_operation_category",
- columns: new[] { "id", "id_parent", "key_value_name", "key_value_units", "name" },
- values: new object[,]
- {
- { 3006, null, "dT", "мин", "Заключительные работы" },
- { 5113, 4001, "МСП", "м/ч", "Бурение" },
- { 5114, 4013, "dT", "мин", "ТО оборудования" },
- { 5116, 4013, "dT", "мин", "Фрезерование \"Окна\"" },
- { 5117, 4013, "dT", "мин", "Расширение ствола" },
- { 4019, 3006, "dT", "мин", "Заключительные операции" },
- { 5115, 4019, "dT", "мин", "Спуск НКТ" }
- });
-
- migrationBuilder.Sql
- ("UPDATE public.t_well_operation SET id_category=5113 WHERE id_category=5002 OR id_category=5003;");
- }
-
- ///
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DeleteData(
- table: "t_well_operation_category",
- keyColumn: "id",
- keyValue: 5113);
-
- migrationBuilder.DeleteData(
- table: "t_well_operation_category",
- keyColumn: "id",
- keyValue: 5114);
-
- migrationBuilder.DeleteData(
- table: "t_well_operation_category",
- keyColumn: "id",
- keyValue: 5115);
-
- migrationBuilder.DeleteData(
- table: "t_well_operation_category",
- keyColumn: "id",
- keyValue: 5116);
-
- migrationBuilder.DeleteData(
- table: "t_well_operation_category",
- keyColumn: "id",
- keyValue: 5117);
-
- migrationBuilder.DeleteData(
- table: "t_well_operation_category",
- keyColumn: "id",
- keyValue: 4019);
-
- migrationBuilder.DeleteData(
- table: "t_well_operation_category",
- keyColumn: "id",
- keyValue: 3006);
- }
- }
-}
diff --git a/AsbCloudDb/Migrations/20240404064028_Add_NewWellOperationCategories.Designer.cs b/AsbCloudDb/Migrations/20240408112202_Add_NewWellOperationCategories.Designer.cs
similarity index 98%
rename from AsbCloudDb/Migrations/20240404064028_Add_NewWellOperationCategories.Designer.cs
rename to AsbCloudDb/Migrations/20240408112202_Add_NewWellOperationCategories.Designer.cs
index 905664c7..caa012fc 100644
--- a/AsbCloudDb/Migrations/20240404064028_Add_NewWellOperationCategories.Designer.cs
+++ b/AsbCloudDb/Migrations/20240408112202_Add_NewWellOperationCategories.Designer.cs
@@ -13,7 +13,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace AsbCloudDb.Migrations
{
[DbContext(typeof(AsbCloudDbContext))]
- [Migration("20240404064028_Add_NewWellOperationCategories")]
+ [Migration("20240408112202_Add_NewWellOperationCategories")]
partial class Add_NewWellOperationCategories
{
///
@@ -6205,6 +6205,9 @@ namespace AsbCloudDb.Migrations
.HasColumnName("id_parent")
.HasComment("id родительской категории");
+ b.Property("IsHidden")
+ .HasColumnType("boolean");
+
b.Property("KeyValueName")
.HasMaxLength(32)
.HasColumnType("character varying(32)")
@@ -6236,6 +6239,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 3000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "м/ч",
Name = "БУРЕНИЕ"
@@ -6243,6 +6247,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 3001,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "СПО"
@@ -6250,6 +6255,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 3002,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "КРЕПЛЕНИЕ"
@@ -6257,6 +6263,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 3003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ГФР"
@@ -6264,6 +6271,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 3004,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Вспомогательные операции"
@@ -6271,6 +6279,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 3005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Непроизводительное время (НПВ)"
@@ -6278,6 +6287,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 3006,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Заключительные работы"
@@ -6286,6 +6296,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4000,
IdParent = 3000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "КНБК"
@@ -6294,6 +6305,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4001,
IdParent = 3000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "м/ч",
Name = "Механическое. бурение"
@@ -6302,6 +6314,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4002,
IdParent = 3000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Статический замер"
@@ -6310,6 +6323,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4003,
IdParent = 3000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Нормализация диаметра скважины"
@@ -6318,6 +6332,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4004,
IdParent = 3000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Наращивание"
@@ -6326,6 +6341,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4005,
IdParent = 3001,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "СПО"
@@ -6334,6 +6350,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4006,
IdParent = 3002,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск обсадной колонны"
@@ -6342,6 +6359,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4018,
IdParent = 3002,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Крепление"
@@ -6350,6 +6368,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4007,
IdParent = 3002,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Цементирование"
@@ -6358,6 +6377,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4008,
IdParent = 3002,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Вспомогательные работы при креплении"
@@ -6366,6 +6386,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4009,
IdParent = 3003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка/разборка приборов ГИС"
@@ -6374,6 +6395,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4010,
IdParent = 3003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "СПО"
@@ -6382,6 +6404,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4011,
IdParent = 3003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ГИС"
@@ -6390,6 +6413,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4012,
IdParent = 3004,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка, ОБР"
@@ -6398,6 +6422,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4013,
IdParent = 3004,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Вспомогательные работы"
@@ -6406,6 +6431,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4014,
IdParent = 3005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ремонт оборудования"
@@ -6414,6 +6440,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4015,
IdParent = 3005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Аварийные работы"
@@ -6422,6 +6449,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4016,
IdParent = 3005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Осложнение"
@@ -6430,6 +6458,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4017,
IdParent = 3005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Незаложенные в ГГД операции"
@@ -6438,6 +6467,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4019,
IdParent = 3006,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Заключительные операции"
@@ -6446,6 +6476,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5000,
IdParent = 4000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Разборка КНБК"
@@ -6454,6 +6485,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5001,
IdParent = 4000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка КНБК"
@@ -6462,6 +6494,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5002,
IdParent = 4001,
+ IsHidden = false,
KeyValueName = "МСП",
KeyValueUnits = "м/ч",
Name = "Бурение слайдом"
@@ -6470,6 +6503,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5003,
IdParent = 4001,
+ IsHidden = false,
KeyValueName = "МСП",
KeyValueUnits = "м/ч",
Name = "Бурение ротором"
@@ -6478,6 +6512,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5004,
IdParent = 4002,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Замер ЗТС (запись MWD)"
@@ -6486,6 +6521,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5005,
IdParent = 4003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка перед наращиванием"
@@ -6494,6 +6530,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5006,
IdParent = 4003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Проработка во время бурения"
@@ -6502,6 +6539,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5007,
IdParent = 4003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Проработка"
@@ -6510,6 +6548,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5008,
IdParent = 4003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Шаблонировка во время бурения"
@@ -6518,6 +6557,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5009,
IdParent = 4003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Шаблонировка перед наращиванием"
@@ -6526,6 +6566,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5010,
IdParent = 4004,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Наращивание"
@@ -6534,6 +6575,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5011,
IdParent = 4004,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Удержание в клиньях"
@@ -6542,6 +6584,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5012,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем инструмента"
@@ -6550,6 +6593,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5013,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем КНБК"
@@ -6558,6 +6602,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5014,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск инструмента"
@@ -6566,6 +6611,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5015,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск КНБК"
@@ -6574,6 +6620,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5016,
IdParent = 4006,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка при спуске ОК"
@@ -6582,6 +6629,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5017,
IdParent = 4006,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск ОК"
@@ -6590,6 +6638,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5018,
IdParent = 4007,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ОЗЦ"
@@ -6598,6 +6647,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5019,
IdParent = 4007,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Цементирование"
@@ -6606,6 +6656,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5020,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Опрессовка БИ"
@@ -6614,6 +6665,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5021,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Опрессовка ОК"
@@ -6622,6 +6674,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5022,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ПЗР при спуске ОК"
@@ -6630,6 +6683,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5023,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ПЗР при цементировании"
@@ -6638,6 +6692,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5024,
IdParent = 4009,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Разборка комплекса приборов ГИС"
@@ -6646,6 +6701,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5025,
IdParent = 4009,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка комплекса приборов ГИС"
@@ -6654,6 +6710,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5026,
IdParent = 4010,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем приборов ГИС (на трубах)"
@@ -6662,6 +6719,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5027,
IdParent = 4010,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск приборов ГИС (на трубах)"
@@ -6670,6 +6728,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5028,
IdParent = 4011,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Комплекс ГИС на жестком кабеле"
@@ -6678,6 +6737,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5029,
IdParent = 4011,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Комплекс ГИС на кабеле"
@@ -6686,6 +6746,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5030,
IdParent = 4011,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Комплекс ГИС на трубах"
@@ -6694,6 +6755,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5031,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Закачка/прокачка пачки"
@@ -6702,6 +6764,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5032,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Обработка БР"
@@ -6710,6 +6773,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5033,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ориентирование ТС при бурении"
@@ -6718,6 +6782,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5034,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Перезапись гаммы-каротажа"
@@ -6726,6 +6791,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5035,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Приготовление БР"
@@ -6734,6 +6800,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5036,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка"
@@ -6742,6 +6809,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5037,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Разбуривание тех.оснастки"
@@ -6750,6 +6818,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5038,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск инструмента с проработкой"
@@ -6758,6 +6827,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5039,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ВМР"
@@ -6766,6 +6836,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5040,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Демонтаж ПВО"
@@ -6774,6 +6845,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5041,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Долив затруба при подъёме"
@@ -6782,6 +6854,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5042,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Монтаж ПВО"
@@ -6790,6 +6863,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5043,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Наработка жёлоба"
@@ -6798,6 +6872,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5044,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Обвязка устья с циркуляционной системой"
@@ -6806,6 +6881,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5045,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Оборудование устья"
@@ -6814,6 +6890,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5046,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Опрессовка ПВО"
@@ -6822,6 +6899,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5047,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Перемонтаж ПВО "
@@ -6830,6 +6908,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5048,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Перетяжка талевого каната"
@@ -6838,6 +6917,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5049,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ПЗР при сборке КНБК"
@@ -6846,6 +6926,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5050,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Полная замена талевого каната"
@@ -6854,6 +6935,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5051,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ПР перед забуркой направления"
@@ -6862,6 +6944,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5052,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Продувка манифольда"
@@ -6870,6 +6953,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5053,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Срезка"
@@ -6878,6 +6962,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5054,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Тайм-дриллинг"
@@ -6886,6 +6971,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5055,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Тех.отстой"
@@ -6894,6 +6980,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5056,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Учебная тревога \"Выброс\""
@@ -6902,6 +6989,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5057,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Чистка ЦСГО/емкостного блока"
@@ -6910,6 +6998,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5058,
IdParent = 4014,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ремонт бурового оборудования"
@@ -6918,6 +7007,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5059,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ловильные работы"
@@ -6926,6 +7016,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5060,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ожидание"
@@ -6934,6 +7025,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5061,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Определение места прихвата и ЛМ"
@@ -6942,6 +7034,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5062,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Работа яссом"
@@ -6950,6 +7043,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5063,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Расхаживание"
@@ -6958,6 +7052,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5064,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "СПО - колокол"
@@ -6966,6 +7061,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5065,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "СПО - метчик"
@@ -6974,6 +7070,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5066,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "СПО - овершот"
@@ -6982,6 +7079,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5067,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "СПО - труболовка"
@@ -6990,6 +7088,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5068,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Торпедирование (встряхивание)"
@@ -6998,6 +7097,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5069,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Торпедирование (отстрел)"
@@ -7006,6 +7106,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5070,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Установка ванн"
@@ -7014,6 +7115,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5071,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Фрезеровка"
@@ -7022,6 +7124,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5072,
IdParent = 4016,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Контролируемое ГНВП"
@@ -7030,6 +7133,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5073,
IdParent = 4016,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Поглощение"
@@ -7038,6 +7142,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5074,
IdParent = 4016,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сальникообразование"
@@ -7046,6 +7151,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5075,
IdParent = 4016,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Утяжеление БР"
@@ -7054,6 +7160,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5076,
IdParent = 4017,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "НПВ / прочее"
@@ -7062,6 +7169,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5077,
IdParent = 4017,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Обработка раствора (несоответствие параметров)"
@@ -7070,6 +7178,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5078,
IdParent = 4017,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "подъем ОК"
@@ -7078,6 +7187,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5079,
IdParent = 4017,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ревизия КНБК/инструмента/ЗТС"
@@ -7086,6 +7196,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5082,
IdParent = 4000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка устройства ориентирования КО"
@@ -7094,6 +7205,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5083,
IdParent = 4003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Проработка принудительная"
@@ -7102,6 +7214,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5084,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Шаблонировка подъем БИ, продувка"
@@ -7110,6 +7223,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5085,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск бурильного инструмента со сборкой с мостков"
@@ -7118,6 +7232,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5086,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем БИ с выбросом на мостки"
@@ -7126,6 +7241,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5087,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск БИ со сборкой с мостков"
@@ -7134,6 +7250,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5088,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка и спуск ТБТ"
@@ -7142,6 +7259,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5089,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск КО на транспотрной колонне"
@@ -7150,6 +7268,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5090,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Отворот допускной трубы"
@@ -7158,6 +7277,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5091,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Активация подвески, опрессовка"
@@ -7166,6 +7286,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5092,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Монтаж, опрессовка ФА"
@@ -7174,6 +7295,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5093,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка хвостовика 114мм (согласно схеме)"
@@ -7182,6 +7304,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5094,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ПЗР к спуску УЭЦН"
@@ -7190,6 +7313,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5095,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Активация подвески (потайной колонны, хвостовика)"
@@ -7198,6 +7322,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5096,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Шаблонирование перед спуском"
@@ -7206,6 +7331,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5097,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка - перевод скважины на новый раствор"
@@ -7214,6 +7340,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5098,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка БИ с мостков на подсвечник"
@@ -7222,6 +7349,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5099,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подготовка ствола скважины. Перезапись ГК в интервале установки КО."
@@ -7230,6 +7358,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5100,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Смена рабочего переводника ВСП"
@@ -7238,6 +7367,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5101,
IdParent = 4014,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ремонт"
@@ -7246,6 +7376,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5102,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск пакера"
@@ -7254,6 +7385,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5103,
IdParent = 4011,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Запись гамма-каратожа"
@@ -7262,6 +7394,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5104,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Шаблонирование спуск БИ"
@@ -7270,6 +7403,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5105,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка клин-отклонителя"
@@ -7278,6 +7412,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5106,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ориентирование и посадка клина-отклонителя"
@@ -7286,6 +7421,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5107,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Протяжка подъемного патрубка подвески"
@@ -7294,6 +7430,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5108,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем клина-отклонителя"
@@ -7302,6 +7439,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5109,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Стыковка стингера с хвостовиком основного ствола"
@@ -7310,6 +7448,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5110,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ориентирование и установка стыковочного узла хвостовика"
@@ -7318,6 +7457,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5111,
IdParent = 4001,
+ IsHidden = false,
KeyValueName = "МСП",
KeyValueUnits = "м/ч",
Name = "Бурение с отбором керна"
@@ -7326,6 +7466,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5112,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Работа пакером в обсадной колонне"
@@ -7334,6 +7475,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5113,
IdParent = 4001,
+ IsHidden = false,
KeyValueName = "МСП",
KeyValueUnits = "м/ч",
Name = "Бурение"
@@ -7342,6 +7484,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5114,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ТО оборудования"
@@ -7350,6 +7493,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5115,
IdParent = 4019,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск НКТ"
@@ -7358,14 +7502,16 @@ namespace AsbCloudDb.Migrations
{
Id = 5116,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
- Name = "Фрезерование \"Окна\""
+ Name = "Вырезка окна"
},
new
{
Id = 5117,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Расширение ствола"
diff --git a/AsbCloudDb/Migrations/20240408112202_Add_NewWellOperationCategories.cs b/AsbCloudDb/Migrations/20240408112202_Add_NewWellOperationCategories.cs
new file mode 100644
index 00000000..dfa7431e
--- /dev/null
+++ b/AsbCloudDb/Migrations/20240408112202_Add_NewWellOperationCategories.cs
@@ -0,0 +1,1035 @@
+using Microsoft.EntityFrameworkCore.Migrations;
+
+#nullable disable
+
+#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
+
+namespace AsbCloudDb.Migrations
+{
+ ///
+ public partial class Add_NewWellOperationCategories : Migration
+ {
+ ///
+ protected override void Up(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.AddColumn(
+ name: "IsHidden",
+ table: "t_well_operation_category",
+ type: "boolean",
+ nullable: false,
+ defaultValue: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 3000,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 3001,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 3002,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 3003,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 3004,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 3005,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4000,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4001,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4002,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4003,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4004,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4005,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4006,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4007,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4008,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4009,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4010,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4011,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4012,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4013,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4014,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4015,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4016,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4017,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4018,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5000,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5001,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5002,
+ column: "IsHidden",
+ value: true);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5003,
+ column: "IsHidden",
+ value: true);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5004,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5005,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5006,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5007,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5008,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5009,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5010,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5011,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5012,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5013,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5014,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5015,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5016,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5017,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5018,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5019,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5020,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5021,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5022,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5023,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5024,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5025,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5026,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5027,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5028,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5029,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5030,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5031,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5032,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5033,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5034,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5035,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5036,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5037,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5038,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5039,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5040,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5041,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5042,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5043,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5044,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5045,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5046,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5047,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5048,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5049,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5050,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5051,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5052,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5053,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5054,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5055,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5056,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5057,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5058,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5059,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5060,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5061,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5062,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5063,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5064,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5065,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5066,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5067,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5068,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5069,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5070,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5071,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5072,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5073,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5074,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5075,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5076,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5077,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5078,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5079,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5082,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5083,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5084,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5085,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5086,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5087,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5088,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5089,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5090,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5091,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5092,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5093,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5094,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5095,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5096,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5097,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5098,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5099,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5100,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5101,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5102,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5103,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5104,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5105,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5106,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5107,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5108,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5109,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5110,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5111,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.UpdateData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5112,
+ column: "IsHidden",
+ value: false);
+
+ migrationBuilder.InsertData(
+ table: "t_well_operation_category",
+ columns: new[] { "id", "id_parent", "IsHidden", "key_value_name", "key_value_units", "name" },
+ values: new object[,]
+ {
+ { 3006, null, false, "dT", "мин", "Заключительные работы" },
+ { 5113, 4001, false, "МСП", "м/ч", "Бурение" },
+ { 5114, 4013, false, "dT", "мин", "ТО оборудования" },
+ { 5116, 4013, false, "dT", "мин", "Вырезка окна" },
+ { 5117, 4013, false, "dT", "мин", "Расширение ствола" },
+ { 4019, 3006, false, "dT", "мин", "Заключительные операции" },
+ { 5115, 4019, false, "dT", "мин", "Спуск НКТ" }
+ });
+
+ migrationBuilder.Sql
+ ("UPDATE public.t_well_operation SET id_category=5113 WHERE id_category=5002 OR id_category=5003;");
+ }
+
+ ///
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DeleteData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5113);
+
+ migrationBuilder.DeleteData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5114);
+
+ migrationBuilder.DeleteData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5115);
+
+ migrationBuilder.DeleteData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5116);
+
+ migrationBuilder.DeleteData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 5117);
+
+ migrationBuilder.DeleteData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 4019);
+
+ migrationBuilder.DeleteData(
+ table: "t_well_operation_category",
+ keyColumn: "id",
+ keyValue: 3006);
+
+ migrationBuilder.DropColumn(
+ name: "IsHidden",
+ table: "t_well_operation_category");
+ }
+ }
+}
diff --git a/AsbCloudDb/Migrations/AsbCloudDbContextModelSnapshot.cs b/AsbCloudDb/Migrations/AsbCloudDbContextModelSnapshot.cs
index 495d5897..a42f3052 100644
--- a/AsbCloudDb/Migrations/AsbCloudDbContextModelSnapshot.cs
+++ b/AsbCloudDb/Migrations/AsbCloudDbContextModelSnapshot.cs
@@ -6202,6 +6202,9 @@ namespace AsbCloudDb.Migrations
.HasColumnName("id_parent")
.HasComment("id родительской категории");
+ b.Property("IsHidden")
+ .HasColumnType("boolean");
+
b.Property("KeyValueName")
.HasMaxLength(32)
.HasColumnType("character varying(32)")
@@ -6233,6 +6236,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 3000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "м/ч",
Name = "БУРЕНИЕ"
@@ -6240,6 +6244,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 3001,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "СПО"
@@ -6247,6 +6252,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 3002,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "КРЕПЛЕНИЕ"
@@ -6254,6 +6260,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 3003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ГФР"
@@ -6261,6 +6268,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 3004,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Вспомогательные операции"
@@ -6268,6 +6276,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 3005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Непроизводительное время (НПВ)"
@@ -6275,6 +6284,7 @@ namespace AsbCloudDb.Migrations
new
{
Id = 3006,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Заключительные работы"
@@ -6283,6 +6293,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4000,
IdParent = 3000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "КНБК"
@@ -6291,6 +6302,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4001,
IdParent = 3000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "м/ч",
Name = "Механическое. бурение"
@@ -6299,6 +6311,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4002,
IdParent = 3000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Статический замер"
@@ -6307,6 +6320,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4003,
IdParent = 3000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Нормализация диаметра скважины"
@@ -6315,6 +6329,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4004,
IdParent = 3000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Наращивание"
@@ -6323,6 +6338,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4005,
IdParent = 3001,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "СПО"
@@ -6331,6 +6347,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4006,
IdParent = 3002,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск обсадной колонны"
@@ -6339,6 +6356,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4018,
IdParent = 3002,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Крепление"
@@ -6347,6 +6365,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4007,
IdParent = 3002,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Цементирование"
@@ -6355,6 +6374,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4008,
IdParent = 3002,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Вспомогательные работы при креплении"
@@ -6363,6 +6383,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4009,
IdParent = 3003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка/разборка приборов ГИС"
@@ -6371,6 +6392,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4010,
IdParent = 3003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "СПО"
@@ -6379,6 +6401,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4011,
IdParent = 3003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ГИС"
@@ -6387,6 +6410,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4012,
IdParent = 3004,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка, ОБР"
@@ -6395,6 +6419,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4013,
IdParent = 3004,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Вспомогательные работы"
@@ -6403,6 +6428,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4014,
IdParent = 3005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ремонт оборудования"
@@ -6411,6 +6437,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4015,
IdParent = 3005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Аварийные работы"
@@ -6419,6 +6446,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4016,
IdParent = 3005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Осложнение"
@@ -6427,6 +6455,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4017,
IdParent = 3005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Незаложенные в ГГД операции"
@@ -6435,6 +6464,7 @@ namespace AsbCloudDb.Migrations
{
Id = 4019,
IdParent = 3006,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Заключительные операции"
@@ -6443,6 +6473,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5000,
IdParent = 4000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Разборка КНБК"
@@ -6451,6 +6482,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5001,
IdParent = 4000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка КНБК"
@@ -6459,6 +6491,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5002,
IdParent = 4001,
+ IsHidden = false,
KeyValueName = "МСП",
KeyValueUnits = "м/ч",
Name = "Бурение слайдом"
@@ -6467,6 +6500,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5003,
IdParent = 4001,
+ IsHidden = false,
KeyValueName = "МСП",
KeyValueUnits = "м/ч",
Name = "Бурение ротором"
@@ -6475,6 +6509,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5004,
IdParent = 4002,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Замер ЗТС (запись MWD)"
@@ -6483,6 +6518,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5005,
IdParent = 4003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка перед наращиванием"
@@ -6491,6 +6527,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5006,
IdParent = 4003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Проработка во время бурения"
@@ -6499,6 +6536,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5007,
IdParent = 4003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Проработка"
@@ -6507,6 +6545,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5008,
IdParent = 4003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Шаблонировка во время бурения"
@@ -6515,6 +6554,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5009,
IdParent = 4003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Шаблонировка перед наращиванием"
@@ -6523,6 +6563,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5010,
IdParent = 4004,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Наращивание"
@@ -6531,6 +6572,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5011,
IdParent = 4004,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Удержание в клиньях"
@@ -6539,6 +6581,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5012,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем инструмента"
@@ -6547,6 +6590,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5013,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем КНБК"
@@ -6555,6 +6599,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5014,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск инструмента"
@@ -6563,6 +6608,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5015,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск КНБК"
@@ -6571,6 +6617,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5016,
IdParent = 4006,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка при спуске ОК"
@@ -6579,6 +6626,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5017,
IdParent = 4006,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск ОК"
@@ -6587,6 +6635,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5018,
IdParent = 4007,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ОЗЦ"
@@ -6595,6 +6644,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5019,
IdParent = 4007,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Цементирование"
@@ -6603,6 +6653,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5020,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Опрессовка БИ"
@@ -6611,6 +6662,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5021,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Опрессовка ОК"
@@ -6619,6 +6671,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5022,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ПЗР при спуске ОК"
@@ -6627,6 +6680,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5023,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ПЗР при цементировании"
@@ -6635,6 +6689,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5024,
IdParent = 4009,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Разборка комплекса приборов ГИС"
@@ -6643,6 +6698,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5025,
IdParent = 4009,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка комплекса приборов ГИС"
@@ -6651,6 +6707,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5026,
IdParent = 4010,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем приборов ГИС (на трубах)"
@@ -6659,6 +6716,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5027,
IdParent = 4010,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск приборов ГИС (на трубах)"
@@ -6667,6 +6725,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5028,
IdParent = 4011,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Комплекс ГИС на жестком кабеле"
@@ -6675,6 +6734,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5029,
IdParent = 4011,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Комплекс ГИС на кабеле"
@@ -6683,6 +6743,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5030,
IdParent = 4011,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Комплекс ГИС на трубах"
@@ -6691,6 +6752,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5031,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Закачка/прокачка пачки"
@@ -6699,6 +6761,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5032,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Обработка БР"
@@ -6707,6 +6770,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5033,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ориентирование ТС при бурении"
@@ -6715,6 +6779,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5034,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Перезапись гаммы-каротажа"
@@ -6723,6 +6788,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5035,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Приготовление БР"
@@ -6731,6 +6797,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5036,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка"
@@ -6739,6 +6806,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5037,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Разбуривание тех.оснастки"
@@ -6747,6 +6815,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5038,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск инструмента с проработкой"
@@ -6755,6 +6824,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5039,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ВМР"
@@ -6763,6 +6833,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5040,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Демонтаж ПВО"
@@ -6771,6 +6842,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5041,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Долив затруба при подъёме"
@@ -6779,6 +6851,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5042,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Монтаж ПВО"
@@ -6787,6 +6860,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5043,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Наработка жёлоба"
@@ -6795,6 +6869,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5044,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Обвязка устья с циркуляционной системой"
@@ -6803,6 +6878,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5045,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Оборудование устья"
@@ -6811,6 +6887,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5046,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Опрессовка ПВО"
@@ -6819,6 +6896,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5047,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Перемонтаж ПВО "
@@ -6827,6 +6905,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5048,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Перетяжка талевого каната"
@@ -6835,6 +6914,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5049,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ПЗР при сборке КНБК"
@@ -6843,6 +6923,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5050,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Полная замена талевого каната"
@@ -6851,6 +6932,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5051,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ПР перед забуркой направления"
@@ -6859,6 +6941,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5052,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Продувка манифольда"
@@ -6867,6 +6950,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5053,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Срезка"
@@ -6875,6 +6959,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5054,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Тайм-дриллинг"
@@ -6883,6 +6968,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5055,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Тех.отстой"
@@ -6891,6 +6977,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5056,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Учебная тревога \"Выброс\""
@@ -6899,6 +6986,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5057,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Чистка ЦСГО/емкостного блока"
@@ -6907,6 +6995,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5058,
IdParent = 4014,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ремонт бурового оборудования"
@@ -6915,6 +7004,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5059,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ловильные работы"
@@ -6923,6 +7013,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5060,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ожидание"
@@ -6931,6 +7022,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5061,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Определение места прихвата и ЛМ"
@@ -6939,6 +7031,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5062,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Работа яссом"
@@ -6947,6 +7040,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5063,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Расхаживание"
@@ -6955,6 +7049,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5064,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "СПО - колокол"
@@ -6963,6 +7058,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5065,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "СПО - метчик"
@@ -6971,6 +7067,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5066,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "СПО - овершот"
@@ -6979,6 +7076,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5067,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "СПО - труболовка"
@@ -6987,6 +7085,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5068,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Торпедирование (встряхивание)"
@@ -6995,6 +7094,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5069,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Торпедирование (отстрел)"
@@ -7003,6 +7103,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5070,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Установка ванн"
@@ -7011,6 +7112,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5071,
IdParent = 4015,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Фрезеровка"
@@ -7019,6 +7121,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5072,
IdParent = 4016,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Контролируемое ГНВП"
@@ -7027,6 +7130,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5073,
IdParent = 4016,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Поглощение"
@@ -7035,6 +7139,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5074,
IdParent = 4016,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сальникообразование"
@@ -7043,6 +7148,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5075,
IdParent = 4016,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Утяжеление БР"
@@ -7051,6 +7157,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5076,
IdParent = 4017,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "НПВ / прочее"
@@ -7059,6 +7166,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5077,
IdParent = 4017,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Обработка раствора (несоответствие параметров)"
@@ -7067,6 +7175,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5078,
IdParent = 4017,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "подъем ОК"
@@ -7075,6 +7184,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5079,
IdParent = 4017,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ревизия КНБК/инструмента/ЗТС"
@@ -7083,6 +7193,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5082,
IdParent = 4000,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка устройства ориентирования КО"
@@ -7091,6 +7202,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5083,
IdParent = 4003,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Проработка принудительная"
@@ -7099,6 +7211,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5084,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Шаблонировка подъем БИ, продувка"
@@ -7107,6 +7220,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5085,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск бурильного инструмента со сборкой с мостков"
@@ -7115,6 +7229,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5086,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем БИ с выбросом на мостки"
@@ -7123,6 +7238,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5087,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск БИ со сборкой с мостков"
@@ -7131,6 +7247,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5088,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка и спуск ТБТ"
@@ -7139,6 +7256,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5089,
IdParent = 4005,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск КО на транспотрной колонне"
@@ -7147,6 +7265,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5090,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Отворот допускной трубы"
@@ -7155,6 +7274,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5091,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Активация подвески, опрессовка"
@@ -7163,6 +7283,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5092,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Монтаж, опрессовка ФА"
@@ -7171,6 +7292,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5093,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка хвостовика 114мм (согласно схеме)"
@@ -7179,6 +7301,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5094,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ПЗР к спуску УЭЦН"
@@ -7187,6 +7310,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5095,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Активация подвески (потайной колонны, хвостовика)"
@@ -7195,6 +7319,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5096,
IdParent = 4008,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Шаблонирование перед спуском"
@@ -7203,6 +7328,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5097,
IdParent = 4012,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Промывка - перевод скважины на новый раствор"
@@ -7211,6 +7337,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5098,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка БИ с мостков на подсвечник"
@@ -7219,6 +7346,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5099,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подготовка ствола скважины. Перезапись ГК в интервале установки КО."
@@ -7227,6 +7355,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5100,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Смена рабочего переводника ВСП"
@@ -7235,6 +7364,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5101,
IdParent = 4014,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ремонт"
@@ -7243,6 +7373,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5102,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск пакера"
@@ -7251,6 +7382,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5103,
IdParent = 4011,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Запись гамма-каратожа"
@@ -7259,6 +7391,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5104,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Шаблонирование спуск БИ"
@@ -7267,6 +7400,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5105,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Сборка клин-отклонителя"
@@ -7275,6 +7409,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5106,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ориентирование и посадка клина-отклонителя"
@@ -7283,6 +7418,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5107,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Протяжка подъемного патрубка подвески"
@@ -7291,6 +7427,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5108,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Подъем клина-отклонителя"
@@ -7299,6 +7436,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5109,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Стыковка стингера с хвостовиком основного ствола"
@@ -7307,6 +7445,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5110,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Ориентирование и установка стыковочного узла хвостовика"
@@ -7315,6 +7454,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5111,
IdParent = 4001,
+ IsHidden = false,
KeyValueName = "МСП",
KeyValueUnits = "м/ч",
Name = "Бурение с отбором керна"
@@ -7323,6 +7463,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5112,
IdParent = 4018,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Работа пакером в обсадной колонне"
@@ -7331,6 +7472,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5113,
IdParent = 4001,
+ IsHidden = false,
KeyValueName = "МСП",
KeyValueUnits = "м/ч",
Name = "Бурение"
@@ -7339,6 +7481,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5114,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "ТО оборудования"
@@ -7347,6 +7490,7 @@ namespace AsbCloudDb.Migrations
{
Id = 5115,
IdParent = 4019,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Спуск НКТ"
@@ -7355,14 +7499,16 @@ namespace AsbCloudDb.Migrations
{
Id = 5116,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
- Name = "Фрезерование \"Окна\""
+ Name = "Вырезка окна"
},
new
{
Id = 5117,
IdParent = 4013,
+ IsHidden = false,
KeyValueName = "dT",
KeyValueUnits = "мин",
Name = "Расширение ствола"
diff --git a/AsbCloudDb/Model/WellOperationCategory.cs b/AsbCloudDb/Model/WellOperationCategory.cs
index a6e6fa57..4b73de9b 100644
--- a/AsbCloudDb/Model/WellOperationCategory.cs
+++ b/AsbCloudDb/Model/WellOperationCategory.cs
@@ -397,7 +397,7 @@ namespace AsbCloudDb.Model
new () {Id = 5113, IdParent = 4001, Name = "Бурение", KeyValueName = "МСП", KeyValueUnits = "м/ч"},
new () {Id = 5114, IdParent = 4013, Name = "ТО оборудования", KeyValueName = "dT", KeyValueUnits = "мин"},
new () {Id = 5115, IdParent = IdFinalOperations, Name = "Спуск НКТ", KeyValueName = "dT", KeyValueUnits = "мин"},
- new () {Id = 5116, IdParent = IdAuxiliaryWork, Name = "Фрезерование \"Окна\"", KeyValueName = "dT", KeyValueUnits = "мин"},
+ new () {Id = 5116, IdParent = IdAuxiliaryWork, Name = "Вырезка окна", KeyValueName = "dT", KeyValueUnits = "мин"},
new () {Id = 5117, IdParent = IdAuxiliaryWork, Name = "Расширение ствола", KeyValueName = "dT", KeyValueUnits = "мин"},
};
#endregion
@@ -418,6 +418,8 @@ namespace AsbCloudDb.Model
[Column("key_value_units"), Comment("Единицы измерения ключевого показателя операции"), StringLength(16)]
public string? KeyValueUnits { get; set; }
+ public bool IsHidden { get; set; } = false;
+
[JsonIgnore]
[ForeignKey(nameof(IdParent))]
public virtual WellOperationCategory? Parent { get; set; } = null!;
diff --git a/AsbCloudInfrastructure/Services/ExcelServices/ExcelTemplateService.cs b/AsbCloudInfrastructure/Services/ExcelServices/ExcelTemplateService.cs
new file mode 100644
index 00000000..75aa1f20
--- /dev/null
+++ b/AsbCloudInfrastructure/Services/ExcelServices/ExcelTemplateService.cs
@@ -0,0 +1,39 @@
+using AsbCloudApp.Data.WellOperation;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Requests.ExportOptions;
+using AsbCloudApp.Services;
+using AsbCloudInfrastructure.Repository;
+using AsbCloudInfrastructure.Services.ExcelServices.Templates;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+
+namespace AsbCloudInfrastructure.Services.ExcelServices
+{
+ public class ExcelTemplateService : ExcelExportService
+ where TTemplate : class, ITemplateParameters, new()
+ {
+ private readonly IWellOperationCategoryRepository wellOperationCategoryRepository;
+
+ public ExcelTemplateService(IWellOperationCategoryRepository wellOperationCategoryRepository,
+ IWellService wellService)
+ {
+ this.wellOperationCategoryRepository = wellOperationCategoryRepository;
+ }
+
+ protected override async Task BuildFileNameAsync(WellOperationExportRequest options, CancellationToken token)
+ {
+ return "WellOperationFactTemplate";
+ }
+
+ protected override async Task> GetDtosAsync(WellOperationExportRequest options, CancellationToken token)
+ {
+ var dtos = wellOperationCategoryRepository.Get(false);
+ return dtos;
+ }
+ }
+}
diff --git a/AsbCloudInfrastructure/Services/WellOperations/Templates/WellOperationFactTemplate.xlsx b/AsbCloudInfrastructure/Services/WellOperations/Templates/WellOperationFactTemplate.xlsx
index 065dc207..97e0f79a 100644
Binary files a/AsbCloudInfrastructure/Services/WellOperations/Templates/WellOperationFactTemplate.xlsx and b/AsbCloudInfrastructure/Services/WellOperations/Templates/WellOperationFactTemplate.xlsx differ
diff --git a/AsbCloudInfrastructure/Services/WellService.cs b/AsbCloudInfrastructure/Services/WellService.cs
index 6ed241a0..795d944b 100644
--- a/AsbCloudInfrastructure/Services/WellService.cs
+++ b/AsbCloudInfrastructure/Services/WellService.cs
@@ -71,7 +71,7 @@ namespace AsbCloudInfrastructure.Services
return DateTimeOffset.MinValue;
var datesRange = telemetryService.GetDatesRange(well.IdTelemetry.Value);
- return datesRange.To.DateTime;
+ return datesRange.To;
}
///
diff --git a/AsbCloudWebApi/Controllers/WellOperationController.cs b/AsbCloudWebApi/Controllers/WellOperationController.cs
index 96d5f5f9..c8648dba 100644
--- a/AsbCloudWebApi/Controllers/WellOperationController.cs
+++ b/AsbCloudWebApi/Controllers/WellOperationController.cs
@@ -16,6 +16,9 @@ using AsbCloudApp.Requests.ExportOptions;
using AsbCloudApp.Requests.ParserOptions;
using AsbCloudDb.Model;
using AsbCloudInfrastructure.Services.WellOperations.Factories;
+using ClosedXML.Excel;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudApp.Services.Export;
namespace AsbCloudWebApi.Controllers;
@@ -40,13 +43,15 @@ public class WellOperationController : ControllerBase
private readonly WellOperationParserFactory wellOperationParserFactory;
private readonly WellOperationExportServiceFactory wellOperationExportServiceFactory;
+ //private readonly IExportService templateService;
- public WellOperationController(IWellOperationRepository wellOperationRepository,
+ public WellOperationController(IWellOperationRepository wellOperationRepository,
IWellOperationCategoryRepository wellOperationCategoryRepository,
IWellService wellService,
IUserRepository userRepository,
WellOperationParserFactory wellOperationParserFactory,
WellOperationExportServiceFactory wellOperationExportServiceFactory)
+ //IExportService templateService
{
this.wellOperationRepository = wellOperationRepository;
this.wellOperationCategoryRepository = wellOperationCategoryRepository;
@@ -54,7 +59,9 @@ public class WellOperationController : ControllerBase
this.userRepository = userRepository;
this.wellOperationParserFactory = wellOperationParserFactory;
this.wellOperationExportServiceFactory = wellOperationExportServiceFactory;
- }
+ //this.templateService = templateService;
+
+ }
///
/// Добавляет новые операции на скважине
@@ -317,12 +324,19 @@ public class WellOperationController : ControllerBase
[HttpGet("template")]
[AllowAnonymous]
[ProducesResponseType(typeof(PhysicalFileResult), StatusCodes.Status200OK, "application/octet-stream")]
- public IActionResult GetTemplate(int idType)
+ public async Task GetTemplate(int idType)
{
var parser = wellOperationParserFactory.CreateParser(idType);
var stream = parser.GetTemplateFile();
+ //using var workbook = new XLWorkbook(stream);
+ //AddDtosToWorkbook(workbook, dtos);
+
return File(stream, "application/octet-stream", templateNames[idType]);
+
+ //var exportOptions = new WellRelatedExportRequest(5);
+ //var (fileName, file) = await templateService.ExportAsync(exportOptions, CancellationToken.None);
+ //return File(file, "application/octet-stream", fileName);
}
private async Task CanUserAccessToWellAsync(int idWell, CancellationToken token)
diff --git a/AsbCloudWebApi/appsettings.json b/AsbCloudWebApi/appsettings.json
index 72d50f57..5294ebe7 100644
--- a/AsbCloudWebApi/appsettings.json
+++ b/AsbCloudWebApi/appsettings.json
@@ -7,10 +7,10 @@
}
},
"ConnectionStrings": {
- "DefaultConnection": "Host=localhost;Database=postgres;Username=postgres;Password=q;Persist Security Info=True",
- "DebugConnection": "Host=localhost;Database=postgres;Username=postgres;Password=q;Persist Security Info=True;Include Error Detail=True",
+ "DefaultConnection": "Host=localhost;Database=postgres2;Username=postgres;Password=q;Persist Security Info=True",
+ "DebugConnection": "Host=localhost;Database=postgres2;Username=postgres;Password=q;Persist Security Info=True;Include Error Detail=True",
"TestConnection": "Host=localhost;Database=test;Username=postgres;Password=q;Persist Security Info=True;Include Error Detail=True",
- "LocalConnection": "Host=localhost;Database=postgres;Username=postgres;Password=q;Persist Security Info=True"
+ "LocalConnection": "Host=localhost;Database=postgres2;Username=postgres;Password=q;Persist Security Info=True"
},
"AllowedHosts": "*",
"ContentPath": "../data",