2023-09-04 14:11:25 +05:00
|
|
|
using System.IO;
|
|
|
|
using System.Threading;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using AsbCloudApp.Data.WellOperationImport;
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services.WellOperationImport;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Импорт ГГД
|
|
|
|
/// </summary>
|
|
|
|
public interface IWellOperationImportService
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Загрузить из excel список операций
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="idWell"></param>
|
|
|
|
/// <param name="stream"></param>
|
|
|
|
/// <param name="idUser"></param>
|
2023-10-02 09:27:20 +05:00
|
|
|
/// <param name="deleteBeforeImport"></param>
|
2023-09-04 14:11:25 +05:00
|
|
|
/// <param name="cancellationToken"></param>
|
|
|
|
/// <param name="options"></param>
|
2023-10-02 09:27:20 +05:00
|
|
|
Task ImportAsync(int idWell, int idUser, Stream stream, WellOperationParserOptionsDto options, bool deleteBeforeImport,
|
2023-09-04 14:11:25 +05:00
|
|
|
CancellationToken cancellationToken);
|
|
|
|
}
|