diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsAnticrashRotationControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsAnticrashRotationControllerTest.cs
new file mode 100644
index 00000000..5b42fb6e
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsAnticrashRotationControllerTest.cs
@@ -0,0 +1,71 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план противоаварийное вращение
+///
+public class ProcessMapPlanFunctionsAnticrashRotationControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanFunctionsAnticrashRotationControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsAnticrashRotation")
+ {
+ }
+ private readonly ProcessMapPlanFunctionsAnticrashRotationDto dto = new ProcessMapPlanFunctionsAnticrashRotationDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ MinRPM = 1,
+ MinСonsumptionStartingFlowRate = 1,
+ TopDriveTorqueLimitMax = 1
+ };
+
+ private readonly ProcessMapPlanFunctionsAnticrashRotation entity = new ProcessMapPlanFunctionsAnticrashRotation()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ MinRPM = 1,
+ MinСonsumptionStartingFlowRate = 1,
+ TopDriveTorqueLimitMax = 1
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanFunctionsAnticrashRotation GetByNote(DbSet dbSet, ProcessMapPlanFunctionsAnticrashRotationDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsAnticrashRotationDto GetByNote(IEnumerable dtos, ProcessMapPlanFunctionsAnticrashRotationDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsAnticrashRotation? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsAutoHoldControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsAutoHoldControllerTest.cs
new file mode 100644
index 00000000..6b548b80
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsAutoHoldControllerTest.cs
@@ -0,0 +1,69 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план автоудержание
+///
+public class ProcessMapPlanFunctionsAutoHoldControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanFunctionsAutoHoldControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsAutoHold")
+ {
+ }
+ private readonly ProcessMapPlanFunctionsAutoHoldDto dto = new ProcessMapPlanFunctionsAutoHoldDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ Note = "1",
+ ZenithAngle = 2,
+ };
+
+ private readonly ProcessMapPlanFunctionsAutoHold entity = new ProcessMapPlanFunctionsAutoHold()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ Note = "1",
+ ZenithAngle = 2,
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanFunctionsAutoHold GetByNote(DbSet dbSet, ProcessMapPlanFunctionsAutoHoldDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsAutoHoldDto GetByNote(IEnumerable dtos, ProcessMapPlanFunctionsAutoHoldDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsAutoHold? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsDamperControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsDamperControllerTest.cs
new file mode 100644
index 00000000..c7146ed4
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsDamperControllerTest.cs
@@ -0,0 +1,69 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план демпфер
+///
+public class ProcessMapPlanFunctionsDamperControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanFunctionsDamperControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsDamper")
+ {
+ }
+ private readonly ProcessMapPlanFunctionsDamperDto dto = new ProcessMapPlanFunctionsDamperDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ Note = "1",
+ StickSlip = 1
+ };
+
+ private readonly ProcessMapPlanFunctionsDamper entity = new ProcessMapPlanFunctionsDamper()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ Note = "1",
+ StickSlip = 1
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanFunctionsDamper GetByNote(DbSet dbSet, ProcessMapPlanFunctionsDamperDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsDamperDto GetByNote(IEnumerable dtos, ProcessMapPlanFunctionsDamperDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsDamper? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsDrillTestControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsDrillTestControllerTest.cs
new file mode 100644
index 00000000..83611d62
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsDrillTestControllerTest.cs
@@ -0,0 +1,79 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план дрилтест
+///
+public class ProcessMapPlanFunctionsDrillTestControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanFunctionsDrillTestControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsDrillTest")
+ {
+ }
+ private readonly ProcessMapPlanFunctionsDrillTestDto dto = new ProcessMapPlanFunctionsDrillTestDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAutostartOrWarning = true,
+ LengthStep = 1,
+ Note = "1",
+ NumberOfStepsBit = 1,
+ NumberOfStepsRPM = 1,
+ RevolutionPerMinuteMin = 1,
+ WeightOnBitMin = 1
+ };
+
+ private readonly ProcessMapPlanFunctionsDrillTest entity = new ProcessMapPlanFunctionsDrillTest()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ IdAutostartOrWarning = true,
+ LengthStep = 1,
+ Note = "1",
+ NumberOfStepsBit = 1,
+ NumberOfStepsRPM = 1,
+ RevolutionPerMinuteMin = 1,
+ WeightOnBitMin = 1
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanFunctionsDrillTest GetByNote(DbSet dbSet, ProcessMapPlanFunctionsDrillTestDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsDrillTestDto GetByNote(IEnumerable dtos, ProcessMapPlanFunctionsDrillTestDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsDrillTest? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsJarrDrillToolControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsJarrDrillToolControllerTest.cs
new file mode 100644
index 00000000..b9745f7d
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsJarrDrillToolControllerTest.cs
@@ -0,0 +1,71 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план встряхивание бурового инструмента
+///
+public class ProcessMapPlanFunctionsJarrDrillToolControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanFunctionsJarrDrillToolControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsJarrDrillTool")
+ {
+ }
+ private readonly ProcessMapPlanFunctionsJarrDrillToolDto dto = new ProcessMapPlanFunctionsJarrDrillToolDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ Buckling = 1,
+ Note = "1",
+ ZenithAngle = 1,
+ };
+
+ private readonly ProcessMapPlanFunctionsJarrDrillTool entity = new ProcessMapPlanFunctionsJarrDrillTool()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ Buckling = 1,
+ Note = "1",
+ ZenithAngle = 1,
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanFunctionsJarrDrillTool GetByNote(DbSet dbSet, ProcessMapPlanFunctionsJarrDrillToolDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsJarrDrillToolDto GetByNote(IEnumerable dtos, ProcessMapPlanFunctionsJarrDrillToolDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsJarrDrillTool? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsOscillationControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsOscillationControllerTest.cs
new file mode 100644
index 00000000..e195ca41
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsOscillationControllerTest.cs
@@ -0,0 +1,79 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план осцилляция
+///
+public class ProcessMapPlanFunctionsOscillationControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanFunctionsOscillationControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsOscillation")
+ {
+ }
+ private readonly ProcessMapPlanFunctionsOscillationDto dto = new ProcessMapPlanFunctionsOscillationDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ Mode = true,
+ Note = "1",
+ OptimalOscillationAngle = 1,
+ RPMLeft = 2,
+ RPMRight = 3,
+ TorqueLimitLeft = 4,
+ TorqueLimitRight = 5
+ };
+
+ private readonly ProcessMapPlanFunctionsOscillation entity = new ProcessMapPlanFunctionsOscillation()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ Mode = true,
+ Note = "1",
+ OptimalOscillationAngle = 1,
+ RPMLeft = 2,
+ RPMRight = 3,
+ TorqueLimitLeft = 4,
+ TorqueLimitRight = 5
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanFunctionsOscillation GetByNote(DbSet dbSet, ProcessMapPlanFunctionsOscillationDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsOscillationDto GetByNote(IEnumerable dtos, ProcessMapPlanFunctionsOscillationDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsOscillation? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsShockTestControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsShockTestControllerTest.cs
new file mode 100644
index 00000000..53ade4bf
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsShockTestControllerTest.cs
@@ -0,0 +1,81 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план shock test
+///
+public class ProcessMapPlanFunctionsShockTestControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanFunctionsShockTestControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsShockTest")
+ {
+ }
+ private readonly ProcessMapPlanFunctionsShockTestDto dto = new ProcessMapPlanFunctionsShockTestDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ AxialVibrations = 1,
+ CombinedVibrations = 2,
+ IdAutostartOrWarning = true,
+ Note = "1",
+ RevolutionPerMinuteMin = 1,
+ StickSlip = 1,
+ WeightOnBitMin = 1,
+ Whirl = 1
+ };
+
+ private readonly ProcessMapPlanFunctionsShockTest entity = new ProcessMapPlanFunctionsShockTest()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ AxialVibrations = 1,
+ CombinedVibrations = 2,
+ IdAutostartOrWarning = true,
+ Note = "1",
+ RevolutionPerMinuteMin = 1,
+ StickSlip = 1,
+ WeightOnBitMin = 1,
+ Whirl = 1
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanFunctionsShockTest GetByNote(DbSet dbSet, ProcessMapPlanFunctionsShockTestDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsShockTestDto GetByNote(IEnumerable dtos, ProcessMapPlanFunctionsShockTestDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsShockTest? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsStaticMeasureControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsStaticMeasureControllerTest.cs
new file mode 100644
index 00000000..c7013953
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsStaticMeasureControllerTest.cs
@@ -0,0 +1,67 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план выход статического замера
+///
+public class ProcessMapPlanFunctionsStaticMeasureControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanFunctionsStaticMeasureControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsStaticMeasure")
+ {
+ }
+ private readonly ProcessMapPlanFunctionsStaticMeasureDto dto = new ProcessMapPlanFunctionsStaticMeasureDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ SignalWaitingTime = 1,
+ };
+
+ private readonly ProcessMapPlanFunctionsStaticMeasure entity = new ProcessMapPlanFunctionsStaticMeasure()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ SignalWaitingTime = 1,
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanFunctionsStaticMeasure GetByNote(DbSet dbSet, ProcessMapPlanFunctionsStaticMeasureDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsStaticMeasureDto GetByNote(IEnumerable dtos, ProcessMapPlanFunctionsStaticMeasureDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsStaticMeasure? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsUpgradeNoloadControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsUpgradeNoloadControllerTest.cs
new file mode 100644
index 00000000..12f73ddc
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanFunctionsUpgradeNoloadControllerTest.cs
@@ -0,0 +1,69 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план обновление холостого хода
+///
+public class ProcessMapPlanFunctionsUpgradeNoloadControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanFunctionsUpgradeNoloadControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanFunctionsUpgradeNoload")
+ {
+ }
+ private readonly ProcessMapPlanFunctionsUpgradeNoloadDto dto = new ProcessMapPlanFunctionsUpgradeNoloadDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdDeclineSocketColumn = true,
+ Note = "1"
+ };
+
+ private readonly ProcessMapPlanFunctionsUpgradeNoload entity = new ProcessMapPlanFunctionsUpgradeNoload()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ IdDeclineSocketColumn = true,
+ Note = "1"
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanFunctionsUpgradeNoload GetByNote(DbSet dbSet, ProcessMapPlanFunctionsUpgradeNoloadDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsUpgradeNoloadDto GetByNote(IEnumerable dtos, ProcessMapPlanFunctionsUpgradeNoloadDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanFunctionsUpgradeNoload? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationDeterminationOfOscillationAnglesControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationDeterminationOfOscillationAnglesControllerTest.cs
new file mode 100644
index 00000000..1ff24202
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationDeterminationOfOscillationAnglesControllerTest.cs
@@ -0,0 +1,77 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план определения углов осцилляции
+///
+public class ProcessMapPlanOperationDeterminationOfOscillationAnglesControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanOperationDeterminationOfOscillationAnglesControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationDeterminationOfOscillationAngles")
+ {
+ }
+ private readonly ProcessMapPlanOperationDeterminationOfOscillationAnglesDto dto = new ProcessMapPlanOperationDeterminationOfOscillationAnglesDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ DifferentialPressure = 1,
+ MaxPressure = 2,
+ Reaming1ROPDown = 3,
+ Reaming1ROPUp = 4,
+ SetpointsSlackingOff = 5,
+ SetpointsTight = 6
+ };
+
+ private readonly ProcessMapPlanOperationDeterminationOfOscillationAngles entity = new ProcessMapPlanOperationDeterminationOfOscillationAngles()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ DifferentialPressure = 1,
+ MaxPressure = 2,
+ Reaming1ROPDown = 3,
+ Reaming1ROPUp = 4,
+ SetpointsSlackingOff = 5,
+ SetpointsTight = 6
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanOperationDeterminationOfOscillationAngles GetByNote(DbSet dbSet, ProcessMapPlanOperationDeterminationOfOscillationAnglesDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationDeterminationOfOscillationAnglesDto GetByNote(IEnumerable dtos, ProcessMapPlanOperationDeterminationOfOscillationAnglesDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationDeterminationOfOscillationAngles? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationLoadCapacityControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationLoadCapacityControllerTest.cs
new file mode 100644
index 00000000..7cd21518
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationLoadCapacityControllerTest.cs
@@ -0,0 +1,73 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план выработка нагрузки
+///
+public class ProcessMapPlanOperationLoadCapacityControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanOperationLoadCapacityControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationLoadCapacity")
+ {
+ }
+ private readonly ProcessMapPlanOperationLoadCapacityDto dto = new ProcessMapPlanOperationLoadCapacityDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ DifferentialPressureMin = 1,
+ Note = "2",
+ TimeLoadCapacityMin = 2,
+ WeightOnBitMin = 3,
+ };
+
+ private readonly ProcessMapPlanOperationLoadCapacity entity = new ProcessMapPlanOperationLoadCapacity()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ DifferentialPressureMin = 1,
+ Note = "2",
+ TimeLoadCapacityMin = 2,
+ WeightOnBitMin = 3,
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanOperationLoadCapacity GetByNote(DbSet dbSet, ProcessMapPlanOperationLoadCapacityDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationLoadCapacityDto GetByNote(IEnumerable dtos, ProcessMapPlanOperationLoadCapacityDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationLoadCapacity? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationPositioningOffTheBottomControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationPositioningOffTheBottomControllerTest.cs
new file mode 100644
index 00000000..6b35ec47
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationPositioningOffTheBottomControllerTest.cs
@@ -0,0 +1,67 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план позиционирование над забоем
+///
+public class ProcessMapPlanOperationPositioningOffTheBottomControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanOperationPositioningOffTheBottomControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationPositioningOffTheBottom")
+ {
+ }
+ private readonly ProcessMapPlanOperationPositioningOffTheBottomDto dto = new ProcessMapPlanOperationPositioningOffTheBottomDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ StopOffTheBottom = 1
+ };
+
+ private readonly ProcessMapPlanOperationPositioningOffTheBottom entity = new ProcessMapPlanOperationPositioningOffTheBottom()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ StopOffTheBottom = 1
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanOperationPositioningOffTheBottom GetByNote(DbSet dbSet, ProcessMapPlanOperationPositioningOffTheBottomDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationPositioningOffTheBottomDto GetByNote(IEnumerable dtos, ProcessMapPlanOperationPositioningOffTheBottomDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationPositioningOffTheBottom? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationReamingRotorControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationReamingRotorControllerTest.cs
new file mode 100644
index 00000000..1db11787
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationReamingRotorControllerTest.cs
@@ -0,0 +1,131 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план проработка для ротора
+///
+public class ProcessMapPlanOperationReamingRotorControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanOperationReamingRotorControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationReamingRotor")
+ {
+ }
+ private readonly ProcessMapPlanOperationReamingRotorDto dto = new ProcessMapPlanOperationReamingRotorDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ DifferentialPressure = 2,
+ MaxPressure = 3,
+ MaxTorque = 4,
+ Note = "5",
+ Reaming3NumberOfRepetitions = 5,
+ SetpointsTight = 6,
+ Reaming1FlowRateDown = 7,
+ Reaming2FlowRateDown = 8,
+ Reaming3FlowRateDown = 9,
+ Reaming1FlowRateUp = 10,
+ Reaming1Interval = 11,
+ Reaming2Interval = 12,
+ Reaming1NumberOfRepetitions = 1,
+ Reaming1ROPDown = 13,
+ Reaming2ROPDown = 14,
+ Reaming3ROPDown = 15,
+ Reaming1ROPUp = 16,
+ Reaming1RPMDown = 17,
+ Reaming2RPMDown = 18,
+ Reaming3RPMDown = 19,
+ Reaming1RPMUp = 20,
+ Reaming2RPMUp = 1,
+ Reaming3RPMUp = 2,
+ Reaming1StopPointOffBottom = 3,
+ Reaming2FlowRateUp = 4,
+ Reaming3FlowRateUp = 5,
+ Reaming2NumberOfRepetitions = 6,
+ Reaming2ROPUp = 7,
+ Reaming2StopPointOffBottom = 1,
+ Reaming3Interval = 2,
+ Reaming3ROPUp = 3,
+ Reaming3StopPointOffBottom = 4,
+ SetpointsSlackingOff = 5
+ };
+
+ private readonly ProcessMapPlanOperationReamingRotor entity = new ProcessMapPlanOperationReamingRotor()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ DifferentialPressure = 2,
+ MaxPressure = 3,
+ MaxTorque = 4,
+ Note = "5",
+ Reaming3NumberOfRepetitions = 5,
+ SetpointsTight = 6,
+ Reaming1FlowRateDown = 7,
+ Reaming2FlowRateDown = 8,
+ Reaming3FlowRateDown = 9,
+ Reaming1FlowRateUp = 10,
+ Reaming1Interval = 11,
+ Reaming2Interval = 12,
+ Reaming1NumberOfRepetitions = 1,
+ Reaming1ROPDown = 13,
+ Reaming2ROPDown = 14,
+ Reaming3ROPDown = 15,
+ Reaming1ROPUp = 16,
+ Reaming1RPMDown = 17,
+ Reaming2RPMDown = 18,
+ Reaming3RPMDown = 19,
+ Reaming1RPMUp = 20,
+ Reaming2RPMUp = 1,
+ Reaming3RPMUp = 2,
+ Reaming1StopPointOffBottom = 3,
+ Reaming2FlowRateUp = 4,
+ Reaming3FlowRateUp = 5,
+ Reaming2NumberOfRepetitions = 6,
+ Reaming2ROPUp = 7,
+ Reaming2StopPointOffBottom = 1,
+ Reaming3Interval = 2,
+ Reaming3ROPUp = 3,
+ Reaming3StopPointOffBottom = 4,
+ SetpointsSlackingOff = 5
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanOperationReamingRotor GetByNote(DbSet dbSet, ProcessMapPlanOperationReamingRotorDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationReamingRotorDto GetByNote(IEnumerable dtos, ProcessMapPlanOperationReamingRotorDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationReamingRotor? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationReamingSlideControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationReamingSlideControllerTest.cs
new file mode 100644
index 00000000..e21f6a5b
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationReamingSlideControllerTest.cs
@@ -0,0 +1,131 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план проработка для слайда
+///
+public class ProcessMapPlanOperationReamingSlideControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanOperationReamingSlideControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationReamingSlide")
+ {
+ }
+ private readonly ProcessMapPlanOperationReamingSlideDto dto = new ProcessMapPlanOperationReamingSlideDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ SetpointsSlackingOff = 1,
+ Reaming3StopPointOffBottom = 2,
+ Reaming3ROPUp = 3,
+ Reaming3Interval = 4,
+ Reaming2StopPointOffBottom = 5,
+ Reaming2ROPUp = 6,
+ Reaming2NumberOfRepetitions = 7,
+ Reaming3FlowRateUp = 8,
+ Reaming2FlowRateUp = 9,
+ Reaming1StopPointOffBottom = 1,
+ Reaming1ROPUp = 1,
+ Reaming1Interval = 2,
+ DifferentialPressure = 3,
+ MaxPressure = 4,
+ MaxTorque = 5,
+ Note = "1",
+ Reaming1FlowRateDown = 6,
+ Reaming1FlowRateUp = 7,
+ Reaming1NumberOfRepetitions = 8,
+ Reaming1ROPDown = 9,
+ Reaming1RPMDown = 1,
+ Reaming1RPMUp = 1,
+ Reaming2FlowRateDown = 2,
+ Reaming2Interval = 3,
+ Reaming2ROPDown = 3,
+ Reaming2RPMDown = 4,
+ Reaming2RPMUp = 5,
+ Reaming3FlowRateDown = 6,
+ Reaming3NumberOfRepetitions = 3,
+ Reaming3ROPDown = 4,
+ Reaming3RPMDown = 5,
+ Reaming3RPMUp = 6,
+ SetpointsTight = 1,
+ };
+
+ private readonly ProcessMapPlanOperationReamingSlide entity = new ProcessMapPlanOperationReamingSlide()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ SetpointsSlackingOff = 1,
+ Reaming3StopPointOffBottom = 2,
+ Reaming3ROPUp = 3,
+ Reaming3Interval = 4,
+ Reaming2StopPointOffBottom = 5,
+ Reaming2ROPUp = 6,
+ Reaming2NumberOfRepetitions = 7,
+ Reaming3FlowRateUp = 8,
+ Reaming2FlowRateUp = 9,
+ Reaming1StopPointOffBottom = 1,
+ Reaming1ROPUp = 1,
+ Reaming1Interval = 2,
+ DifferentialPressure = 3,
+ MaxPressure = 4,
+ MaxTorque = 5,
+ Note = "1",
+ Reaming1FlowRateDown = 6,
+ Reaming1FlowRateUp = 7,
+ Reaming1NumberOfRepetitions = 8,
+ Reaming1ROPDown = 9,
+ Reaming1RPMDown = 1,
+ Reaming1RPMUp = 1,
+ Reaming2FlowRateDown = 2,
+ Reaming2Interval = 3,
+ Reaming2ROPDown = 3,
+ Reaming2RPMDown = 4,
+ Reaming2RPMUp = 5,
+ Reaming3FlowRateDown = 6,
+ Reaming3NumberOfRepetitions = 3,
+ Reaming3ROPDown = 4,
+ Reaming3RPMDown = 5,
+ Reaming3RPMUp = 6,
+ SetpointsTight = 1,
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanOperationReamingSlide GetByNote(DbSet dbSet, ProcessMapPlanOperationReamingSlideDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationReamingSlideDto GetByNote(IEnumerable dtos, ProcessMapPlanOperationReamingSlideDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationReamingSlide? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationSwitchModeControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationSwitchModeControllerTest.cs
new file mode 100644
index 00000000..34f0c43e
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationSwitchModeControllerTest.cs
@@ -0,0 +1,73 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план выход на режим
+///
+public class ProcessMapPlanOperationSwitchModeControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanOperationSwitchModeControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationSwitchMode")
+ {
+ }
+ private readonly ProcessMapPlanOperationSwitchModeDto dto = new ProcessMapPlanOperationSwitchModeDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ Comment = 1,
+ ExitTimeConsumption = 2,
+ ConsumptionFlowRate = 3,
+ PressureLimitMax = 4,
+ };
+
+ private readonly ProcessMapPlanOperationSwitchMode entity = new ProcessMapPlanOperationSwitchMode()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ Comment = 1,
+ ExitTimeConsumption = 2,
+ ConsumptionFlowRate = 3,
+ PressureLimitMax = 4,
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanOperationSwitchMode GetByNote(DbSet dbSet, ProcessMapPlanOperationSwitchModeDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationSwitchModeDto GetByNote(IEnumerable dtos, ProcessMapPlanOperationSwitchModeDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationSwitchMode? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationSwitchPumpControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationSwitchPumpControllerTest.cs
new file mode 100644
index 00000000..4b9f34d3
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationSwitchPumpControllerTest.cs
@@ -0,0 +1,69 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план выключение насоса
+///
+public class ProcessMapPlanOperationSwitchPumpControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanOperationSwitchPumpControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationSwitchPump")
+ {
+ }
+ private readonly ProcessMapPlanOperationSwitchPumpDto dto = new ProcessMapPlanOperationSwitchPumpDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ Duration = 1,
+ ResidualPressureLimit = 1,
+ };
+
+ private readonly ProcessMapPlanOperationSwitchPump entity = new ProcessMapPlanOperationSwitchPump()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ Duration = 1,
+ ResidualPressureLimit = 1,
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanOperationSwitchPump GetByNote(DbSet dbSet, ProcessMapPlanOperationSwitchPumpDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationSwitchPumpDto GetByNote(IEnumerable dtos, ProcessMapPlanOperationSwitchPumpDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationSwitchPump? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationTFOrientationControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationTFOrientationControllerTest.cs
new file mode 100644
index 00000000..8d228237
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanOperationTFOrientationControllerTest.cs
@@ -0,0 +1,93 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план выставление
+///
+public class ProcessMapPlanOperationTFOrientationControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanOperationTFOrientationControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanOperationTFOrientation")
+ {
+ }
+ private readonly ProcessMapPlanOperationTFOrientationDto dto = new ProcessMapPlanOperationTFOrientationDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ DifferentialPressure = 1,
+ Reaming1NumberOfRepetitions = 1,
+ Reaming1StopPointOffBottom = 1,
+ Reaming1ROPUp = 1,
+ Reaming1ROPDown = 1,
+ Reaming1Interval = 1,
+ Reaming1FlowRateUp = 1,
+ Reaming1FlowRateDown = 1,
+ SetpointsSlackingOff = 1,
+ MaxPressure = 1,
+ MaxTorque = 1,
+ planTF = 1,
+ SetpointsTight = 1,
+ Spring = 1
+ };
+
+ private readonly ProcessMapPlanOperationTFOrientation entity = new ProcessMapPlanOperationTFOrientation()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ DifferentialPressure = 1,
+ Reaming1NumberOfRepetitions = 1,
+ Reaming1StopPointOffBottom = 1,
+ Reaming1ROPUp = 1,
+ Reaming1ROPDown = 1,
+ Reaming1Interval = 1,
+ Reaming1FlowRateUp = 1,
+ Reaming1FlowRateDown = 1,
+ SetpointsSlackingOff = 1,
+ MaxPressure = 1,
+ MaxTorque = 1,
+ planTF = 1,
+ SetpointsTight = 1,
+ Spring = 1
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanOperationTFOrientation GetByNote(DbSet dbSet, ProcessMapPlanOperationTFOrientationDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationTFOrientationDto GetByNote(IEnumerable dtos, ProcessMapPlanOperationTFOrientationDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanOperationTFOrientation? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file
diff --git a/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanSurveyControllerTest.cs b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanSurveyControllerTest.cs
new file mode 100644
index 00000000..aeb1585f
--- /dev/null
+++ b/AsbCloudWebApi.IntegrationTests/Controllers/ProcessMapPlan/ProcessMapPlanSurveyControllerTest.cs
@@ -0,0 +1,67 @@
+using AsbCloudApp.Data.ProcessMaps;
+using AsbCloudApp.Repositories;
+using AsbCloudApp.Requests;
+using AsbCloudApp.Services;
+using AsbCloudDb.Model.ProcessMaps;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
+using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
+using AsbCloudWebApi.IntegrationTests.Controllers.ProcessMapPlan;
+using AsbCloudWebApi.IntegrationTests;
+using Microsoft.EntityFrameworkCore;
+using Xunit;
+
+namespace AsbCloudWebApi.Controllers.ProcessMaps;
+
+///
+/// РТК план записи статического замера
+///
+public class ProcessMapPlanSurveyControllerTest :
+ ProcessMapPlanBaseControllerTest
+{
+ public ProcessMapPlanSurveyControllerTest(WebAppFactoryFixture factory) : base(factory, "ProcessMapPlanSurvey")
+ {
+ }
+ private readonly ProcessMapPlanSurveyDto dto = new ProcessMapPlanSurveyDto()
+ {
+ IdWell = 1,
+ DepthStart = 1,
+ DepthEnd = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ MeasurementRecordingTime = 1,
+ };
+
+ private readonly ProcessMapPlanSurvey entity = new ProcessMapPlanSurvey()
+ {
+ IdWell = 1,
+ DepthEnd = 10,
+ DepthStart = 2,
+ Id = 0,
+ IdWellSectionType = 1,
+ IdAuthor = 1,
+ IdEditor = 1,
+ Creation = DateTimeOffset.UtcNow,
+ MeasurementRecordingTime = 1,
+ };
+
+ [Fact]
+ public async Task Get_actual_returns_success()
+ {
+ await Get(entity, dto);
+ }
+
+ protected override ProcessMapPlanSurvey GetByNote(DbSet dbSet, ProcessMapPlanSurveyDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanSurveyDto GetByNote(IEnumerable dtos, ProcessMapPlanSurveyDto dto)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected override ProcessMapPlanSurvey? GetByWellId()
+ {
+ throw new NotImplementedException();
+ }
+}
\ No newline at end of file