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-11-28 15:54:47 +05:00
|
|
|
|
protected override string fileName { get; set; }
|
|
|
|
|
public TrajectoryFactManualController(IWellService wellService,
|
|
|
|
|
TrajectoryFactManualImportService factTrajectoryImportService,
|
|
|
|
|
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)
|
|
|
|
|
{
|
|
|
|
|
fileName = "ЕЦП_шаблон_файла_фактическая_траектория.xlsx";
|
2023-11-21 15:10:22 +05:00
|
|
|
|
}
|
|
|
|
|
}
|