forked from ddrilling/AsbCloudServer
24 lines
753 B
C#
24 lines
753 B
C#
using AsbCloudApp.Data;
|
|
using System;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AsbCloudApp.Services
|
|
{
|
|
/// <summary>
|
|
/// Сервис расписания смен бурильщика
|
|
/// </summary>
|
|
public interface IScheduleService : ICrudWellRelatedService<ScheduleDto>
|
|
{
|
|
// TODO: this should be nullable.
|
|
/// <summary>
|
|
/// получить бурильщика по idWell и времени
|
|
/// </summary>
|
|
/// <param name="idWell"></param>
|
|
/// <param name="workTime"></param>
|
|
/// <param name="token"></param>
|
|
/// <returns></returns>
|
|
Task<DrillerDto> GetDrillerAsync(int idWell, DateTime workTime, CancellationToken token);
|
|
}
|
|
}
|