2022-05-22 21:18:43 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
2022-08-09 11:10:01 +05:00
|
|
|
|
/// <summary>
|
2022-08-11 13:55:36 +05:00
|
|
|
|
/// Репозиторий расписания смен бурильщика
|
2022-08-09 11:10:01 +05:00
|
|
|
|
/// </summary>
|
2022-08-11 13:55:36 +05:00
|
|
|
|
public interface IScheduleRepository : IRepositoryWellRelated<ScheduleDto>
|
2022-05-22 21:18:43 +05:00
|
|
|
|
{
|
2022-08-09 11:10:01 +05:00
|
|
|
|
// TODO: this should be nullable.
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// получить бурильщика по idWell и времени
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="idWell"></param>
|
|
|
|
|
/// <param name="workTime"></param>
|
|
|
|
|
/// <param name="token"></param>
|
|
|
|
|
/// <returns></returns>
|
2022-06-14 15:35:31 +05:00
|
|
|
|
Task<DrillerDto> GetDrillerAsync(int idWell, DateTime workTime, CancellationToken token);
|
2022-05-22 21:18:43 +05:00
|
|
|
|
}
|
|
|
|
|
}
|