forked from ddrilling/AsbCloudServer
ISlipsStatsRepository переименован в ISlipsStatRepository
This commit is contained in:
parent
83b1da7c9c
commit
3b8b3e38f0
@ -10,7 +10,7 @@ namespace AsbCloudApp.Repositories
|
||||
/// <summary>
|
||||
/// Сервис для получения аналитики удержания в клиньях
|
||||
/// </summary>
|
||||
public interface ISlipsStatsRepository
|
||||
public interface ISlipsStatRepository
|
||||
{
|
||||
/// <summary>
|
||||
/// Получение записей для построения аналитики удержания в клиньях
|
@ -26,12 +26,8 @@ using System;
|
||||
using AsbCloudApp.Data.Manuals;
|
||||
using AsbCloudApp.Services.AutoGeneratedDailyReports;
|
||||
using AsbCloudApp.Services.Notifications;
|
||||
using AsbCloudApp.Services.WellOperationImport;
|
||||
using AsbCloudDb.Model.Manuals;
|
||||
using AsbCloudInfrastructure.Services.AutoGeneratedDailyReports;
|
||||
using AsbCloudInfrastructure.Services.WellOperationImport;
|
||||
using AsbCloudInfrastructure.Services.WellOperationImport.FileParser;
|
||||
using AsbCloudInfrastructure.Services.ProcessMap.ProcessMapWellboreDevelopment;
|
||||
|
||||
namespace AsbCloudInfrastructure
|
||||
{
|
||||
@ -123,7 +119,6 @@ namespace AsbCloudInfrastructure
|
||||
services.AddTransient<IAuthService, AuthService>();
|
||||
services.AddTransient<IDepositRepository, DepositRepository>();
|
||||
services.AddTransient<IProcessMapPlanRepository, ProcessMapRepository>();
|
||||
services.AddTransient<IProcessMapWellboreDevelopmentRepository, ProcessMapWellboreDevelopmentRepository>();
|
||||
services.AddTransient<IDrillingProgramService, DrillingProgramService>();
|
||||
services.AddTransient<IEventService, EventService>();
|
||||
services.AddTransient<FileService>();
|
||||
@ -136,6 +131,7 @@ namespace AsbCloudInfrastructure
|
||||
services.AddTransient<ITelemetryUserService, TelemetryUserService>();
|
||||
services.AddTransient<ITimezoneService, TimezoneService>();
|
||||
services.AddTransient<IWellService, WellService>();
|
||||
services.AddTransient<IWellOperationImportService, WellOperationImportService>();
|
||||
services.AddTransient<IProcessMapPlanImportService, ProcessMapPlanImportService>();
|
||||
services.AddTransient<IPlannedTrajectoryImportService, PlannedTrajectoryImportService>();
|
||||
services.AddTransient<IWellOperationRepository, WellOperationRepository>();
|
||||
@ -151,7 +147,6 @@ namespace AsbCloudInfrastructure
|
||||
services.AddTransient<ILimitingParameterService, LimitingParameterService>();
|
||||
services.AddTransient<IProcessMapReportMakerService, ProcessMapReportMakerService>();
|
||||
services.AddTransient<IProcessMapService, ProcessMapService>();
|
||||
services.AddTransient<IProcessMapWellboreDevelopmentService, ProcessMapWellboreDevelopmentService>();
|
||||
services.AddTransient<WellInfoService>();
|
||||
services.AddTransient<IHelpPageService, HelpPageService>();
|
||||
|
||||
@ -204,7 +199,7 @@ namespace AsbCloudInfrastructure
|
||||
services.AddTransient<ITrajectoryPlanRepository, TrajectoryPlanRepository>();
|
||||
services.AddTransient<ITrajectoryFactRepository, TrajectoryFactRepository>();
|
||||
services.AddTransient<IFaqRepository, FaqRepository>();
|
||||
services.AddTransient<ISlipsStatsRepository, SlipsStatRepository>();
|
||||
services.AddTransient<ISlipsStatRepository, SlipsStatRepository>();
|
||||
services.AddTransient<IWellContactService, WellContactService>();
|
||||
services.AddTransient<ICrudRepository<WellSectionTypeDto>, CrudCacheRepositoryBase<WellSectionTypeDto,
|
||||
WellSectionType>>();
|
||||
@ -236,13 +231,6 @@ namespace AsbCloudInfrastructure
|
||||
|
||||
services.AddTransient<IWellboreService, WellboreService>();
|
||||
|
||||
services.AddTransient<IWellOperationExportService, WellOperationExportService>();
|
||||
services.AddTransient<IWellOperationImportService, WellOperationImportService>();
|
||||
services.AddTransient<IWellOperationImportTemplateService, WellOperationImportTemplateService>();
|
||||
|
||||
services.AddTransient<IWellOperationExcelParser, WellOperationDefaultExcelParser>();
|
||||
services.AddTransient<IWellOperationExcelParser, WellOperationGazpromKhantosExcelParser>();
|
||||
|
||||
return services;
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace AsbCloudInfrastructure.Repository
|
||||
{
|
||||
public class SlipsStatRepository : ISlipsStatsRepository
|
||||
public class SlipsStatRepository : ISlipsStatRepository
|
||||
{
|
||||
private readonly IAsbCloudDbContext db;
|
||||
public SlipsStatRepository(IAsbCloudDbContext db)
|
||||
|
@ -20,9 +20,9 @@ namespace AsbCloudWebApi.Controllers
|
||||
[Authorize]
|
||||
public class SlipsStatController : ControllerBase
|
||||
{
|
||||
private readonly ISlipsStatsRepository slipsAnalyticsService;
|
||||
private readonly ISlipsStatRepository slipsAnalyticsService;
|
||||
|
||||
public SlipsStatController(ISlipsStatsRepository slipsAnalyticsService)
|
||||
public SlipsStatController(ISlipsStatRepository slipsAnalyticsService)
|
||||
{
|
||||
this.slipsAnalyticsService = slipsAnalyticsService;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user