2022-04-26 16:45:52 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IDailyReportService
|
|
|
|
|
{
|
2022-04-29 15:39:12 +05:00
|
|
|
|
Task<DailyReportDto> GetListAsync(int idWell, DateTime? v1, DateTime? v2, CancellationToken cancellationToken);
|
|
|
|
|
Task<DailyReportDto> GetOrGenerateAsync(int idWell, DateTime date, CancellationToken token);
|
2022-04-26 16:45:52 +05:00
|
|
|
|
Task<int> AddAsync(int idWell, DailyReportDto dto, CancellationToken token = default);
|
|
|
|
|
Task<int> UpdateAsync(int idWell, DateTime date, DailyReportDto dto, CancellationToken token = default);
|
|
|
|
|
Task<Stream> MakeReportAsync(int idWell, DateTime date, CancellationToken token = default);
|
|
|
|
|
}
|
|
|
|
|
}
|