forked from ddrilling/AsbCloudServer
Регистрация зависимостей, добавлен новый контроллер
This commit is contained in:
parent
51d43d179a
commit
d321c0a000
@ -392,6 +392,10 @@ public static class DependencyInjection
|
||||
IChangeLogRepository<ProcessMapPlanStaticMeasurementOutputDto, ProcessMapPlanBaseRequestWithWell>,
|
||||
ProcessMapPlanBaseRepository<ProcessMapPlanStaticMeasurementOutput, ProcessMapPlanStaticMeasurementOutputDto>>();
|
||||
|
||||
services.AddTransient<
|
||||
IChangeLogRepository<ProcessMapPlanSubsystemsDto, ProcessMapPlanBaseRequestWithWell>,
|
||||
ProcessMapPlanBaseRepository<ProcessMapPlanSubsystems, ProcessMapPlanSubsystemsDto>>();
|
||||
|
||||
services.AddTransient<IProcessMapReportDrillingService, ProcessMapReportDrillingService>();
|
||||
|
||||
services.AddTransient<TrajectoryService>();
|
||||
@ -530,6 +534,7 @@ public static class DependencyInjection
|
||||
services.AddTransient<ProcessMapPlanOscillationParser>();
|
||||
services.AddTransient<ProcessMapPlanAntiCrashRotationParser>();
|
||||
services.AddTransient<ProcessMapPlanStaticMeasurementOutputParser>();
|
||||
services.AddTransient<ProcessMapPlanSubsystemsParser>();
|
||||
|
||||
services.AddTransient<TrajectoryPlanExportService>();
|
||||
services.AddTransient<TrajectoryFactManualExportService>();
|
||||
@ -553,6 +558,7 @@ public static class DependencyInjection
|
||||
services.AddTransient<ProcessMapPlanOscillationExportService>();
|
||||
services.AddTransient<ProcessMapPlanAntiCrashRotationExportService>();
|
||||
services.AddTransient<ProcessMapPlanStaticMeasurementOutputExportService>();
|
||||
services.AddTransient<ProcessMapPlanSubsystemsExportService>();
|
||||
|
||||
services.AddTransient<WellOperationParserFactory>();
|
||||
services.AddTransient<WellOperationExportServiceFactory>();
|
||||
|
@ -0,0 +1,33 @@
|
||||
using AsbCloudApp.Data.ProcessMaps;
|
||||
using AsbCloudApp.Repositories;
|
||||
using AsbCloudApp.Requests;
|
||||
using AsbCloudApp.Services;
|
||||
using AsbCloudDb.Model.ProcessMapPlan;
|
||||
using AsbCloudInfrastructure.Services.ProcessMapPlan.Export;
|
||||
using AsbCloudInfrastructure.Services.ProcessMapPlan.Parser;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace AsbCloudWebApi.Controllers.ProcessMaps;
|
||||
|
||||
/// <summary>
|
||||
/// РТК план базовый
|
||||
/// </summary>
|
||||
[ApiController]
|
||||
[Route("api/well/{idWell}/[controller]")]
|
||||
[Authorize]
|
||||
public class ProcessMapPlanSubsystemsController
|
||||
: ProcessMapPlanBaseController<ProcessMapPlanSubsystems, ProcessMapPlanSubsystemsDto>
|
||||
{
|
||||
public ProcessMapPlanSubsystemsController(
|
||||
IChangeLogRepository<ProcessMapPlanSubsystemsDto, ProcessMapPlanBaseRequestWithWell> repository,
|
||||
IWellService wellService,
|
||||
ProcessMapPlanSubsystemsParser parserService,
|
||||
ProcessMapPlanSubsystemsExportService processMapPlanExportService,
|
||||
ITelemetryService telemetryService)
|
||||
: base(repository, wellService, parserService, processMapPlanExportService, telemetryService)
|
||||
{
|
||||
}
|
||||
|
||||
protected override string TemplateFileName => "ЕЦП_шаблон_файла_РТК_план_использование_систем.xlsx";
|
||||
}
|
Loading…
Reference in New Issue
Block a user