using AsbCloudApp.Data.Trajectory;
using AsbCloudApp.Repositories;
using AsbCloudApp.Services;
using AsbCloudInfrastructure.Services.Trajectory.Export;
using AsbCloudInfrastructure.Services.Trajectory.Import;
using Microsoft.AspNetCore.Mvc;

namespace AsbCloudWebApi.Controllers.Trajectory;

/// <summary>
/// Фактическая траектория
/// </summary>
[ApiController]
[Route("api/well/{idWell}/[controller]")]
public class TrajectoryFactManualController : TrajectoryEditableController<TrajectoryGeoFactDto>
{
    protected override string fileName { get; set; }
    public TrajectoryFactManualController(IWellService wellService,
            TrajectoryFactManualParserService factTrajectoryImportService,
            TrajectoryFactManualExportService factTrajectoryExportService,
            ITrajectoryEditableRepository<TrajectoryGeoFactDto> trajectoryFactRepository)
            : base(
                wellService,
                factTrajectoryImportService,
                factTrajectoryExportService,
                trajectoryFactRepository)
    {
        fileName = "ЕЦП_шаблон_файла_фактическая_траектория.xlsx";
    }
}