using AsbCloudApp.Data; using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace AsbCloudApp.Services { public interface IWellService { Task> GetWellsByCompanyAsync(int idCompany, CancellationToken token); Task UpdateWellAsync(int idWell, WellParamsDto dto, CancellationToken token = default); Task> GetTransmittingWellsAsync(int idCompany, CancellationToken token); Task IsCompanyInvolvedInWellAsync(int idCompany, int idWell, CancellationToken token); Task GetWellCaptionByIdAsync(int idWell, CancellationToken token); Task> GetCompaniesAsync(int idWell, CancellationToken token); Task GetAsync(int idWell, CancellationToken token); bool IsCompanyInvolvedInWell(int idCompany, int idWell); string GetStateText(int state); DateTime GetLastTelemetryDate(int idWell); } }