forked from ddrilling/AsbCloudServer
23 lines
880 B
C#
23 lines
880 B
C#
using AsbCloudApp.Data.DailyReport;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AsbCloudApp.Services
|
|
{
|
|
/// <summary>
|
|
/// Суточный рапорт (сводка)
|
|
/// </summary>
|
|
public interface IDailyReportService
|
|
{
|
|
|
|
Task<IEnumerable<DailyReportDto>> GetListAsync(int idWell, DateTime? v1, DateTime? v2, CancellationToken cancellationToken);
|
|
Task<DailyReportDto> GetOrGenerateAsync(int idWell, DateTime date, CancellationToken token);
|
|
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);
|
|
}
|
|
}
|