forked from ddrilling/AsbCloudServer
Степанов Дмитрий
ff02a29115
1. Добавил парсинг Газпромовских файлов 2. Сделал рефакторинг существующего импорта
26 lines
838 B
C#
26 lines
838 B
C#
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="idType"></param>
|
|
/// <param name="stream"></param>
|
|
/// <param name="idUser"></param>
|
|
/// <param name="deleteWellOperationsBeforeImport"></param>
|
|
/// <param name="cancellationToken"></param>
|
|
/// <param name="options"></param>
|
|
Task ImportAsync(int idWell, int idUser, int idType, Stream stream, WellOperationParserOptionsDto options,
|
|
bool deleteWellOperationsBeforeImport,
|
|
CancellationToken cancellationToken);
|
|
} |