2023-11-28 15:54:47 +05:00
|
|
|
|
using AsbCloudApp.Data.Trajectory;
|
2023-11-21 15:10:22 +05:00
|
|
|
|
using AsbCloudApp.Repositories;
|
|
|
|
|
using AsbCloudApp.Services;
|
2024-01-29 15:39:39 +05:00
|
|
|
|
using AsbCloudInfrastructure.Services;
|
2023-11-28 15:54:47 +05:00
|
|
|
|
using AsbCloudInfrastructure.Services.Trajectory.Export;
|
2023-11-21 15:10:22 +05:00
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudWebApi.Controllers.Trajectory;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Фактическая траектория
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ApiController]
|
|
|
|
|
[Route("api/well/{idWell}/[controller]")]
|
2023-11-28 15:54:47 +05:00
|
|
|
|
public class TrajectoryFactManualController : TrajectoryEditableController<TrajectoryGeoFactDto>
|
2023-11-21 15:10:22 +05:00
|
|
|
|
{
|
2024-01-29 15:39:39 +05:00
|
|
|
|
protected override string fileName => "ЕЦП_шаблон_файла_фактическая_траектория.xlsx";
|
|
|
|
|
|
|
|
|
|
public TrajectoryFactManualController(IWellService wellService,
|
|
|
|
|
TrajectoryFactManualExportService trajectoryExportService,
|
|
|
|
|
ParserServiceFactory parserServiceFactory,
|
|
|
|
|
ITrajectoryEditableRepository<TrajectoryGeoFactDto> trajectoryRepository)
|
2024-02-01 16:37:03 +05:00
|
|
|
|
: base(wellService,
|
|
|
|
|
parserServiceFactory,
|
|
|
|
|
trajectoryExportService,
|
|
|
|
|
trajectoryRepository,
|
|
|
|
|
ParserServiceFactory.IdTrajectoryFactManualParserService)
|
2024-01-29 15:39:39 +05:00
|
|
|
|
{
|
|
|
|
|
}
|
2023-11-21 15:10:22 +05:00
|
|
|
|
}
|