forked from ddrilling/AsbCloudServer
33 lines
1.0 KiB
C#
33 lines
1.0 KiB
C#
using AsbCloudApp.Data;
|
|
using AsbCloudApp.Data.SAUB;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AsbCloudApp.Repositories
|
|
{
|
|
#nullable enable
|
|
/// <summary>
|
|
/// Наработка талевого каната
|
|
/// </summary>
|
|
public interface ITelemetryWirelineRunOutRepository
|
|
{
|
|
/// <summary>
|
|
/// Принимает данные от панели
|
|
/// </summary>
|
|
/// <param name="idTelemetry"></param>
|
|
/// <param name="dto"></param>
|
|
/// <returns></returns>
|
|
int AddOrUpdate(int idTelemetry, TelemetryWirelineRunOutDto dto);
|
|
|
|
/// <summary>
|
|
/// Выдает данные по скважине
|
|
/// </summary>
|
|
/// <param name="idTelemetry"></param>
|
|
/// <param name="token"></param>
|
|
/// <param name="wellInfo"></param>
|
|
/// <returns></returns>
|
|
Task<TelemetryWirelineRunOutDto?> GetValueOrDefaultAsync(int idTelemetry, WellInfoDto wellInfo, CancellationToken token);
|
|
}
|
|
#nullable disable
|
|
}
|