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;
|
2023-11-28 15:54:47 +05:00
|
|
|
|
using AsbCloudInfrastructure.Services.Trajectory.Export;
|
|
|
|
|
using AsbCloudInfrastructure.Services.Trajectory.Import;
|
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
|
|
|
|
{
|
2023-12-05 14:48:56 +05:00
|
|
|
|
protected override string fileName => "ЕЦП_шаблон_файла_фактическая_траектория.xlsx";
|
2023-11-28 15:54:47 +05:00
|
|
|
|
public TrajectoryFactManualController(IWellService wellService,
|
2023-11-30 09:40:51 +05:00
|
|
|
|
TrajectoryFactManualParserService factTrajectoryImportService,
|
2023-11-28 15:54:47 +05:00
|
|
|
|
TrajectoryFactManualExportService factTrajectoryExportService,
|
2023-11-22 13:14:37 +05:00
|
|
|
|
ITrajectoryEditableRepository<TrajectoryGeoFactDto> trajectoryFactRepository)
|
|
|
|
|
: base(
|
|
|
|
|
wellService,
|
|
|
|
|
factTrajectoryImportService,
|
2023-11-28 15:54:47 +05:00
|
|
|
|
factTrajectoryExportService,
|
2023-11-22 13:14:37 +05:00
|
|
|
|
trajectoryFactRepository)
|
2023-12-05 14:48:56 +05:00
|
|
|
|
{ }
|
2023-11-21 15:10:22 +05:00
|
|
|
|
}
|