diff --git a/AsbCloudApp/Services/InstantDataRepository.cs b/AsbCloudApp/Services/InstantDataRepository.cs deleted file mode 100644 index d58e602e..00000000 --- a/AsbCloudApp/Services/InstantDataRepository.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Concurrent; - -namespace AsbCloudApp.Services -{ - /// - /// Репозиторий для хранения в оперативке данных (от панели) - /// - public class InstantDataRepository : ConcurrentDictionary> - { - } -} diff --git a/AsbCloudInfrastructure/DependencyInjection.cs b/AsbCloudInfrastructure/DependencyInjection.cs index 1911d5a8..41151953 100644 --- a/AsbCloudInfrastructure/DependencyInjection.cs +++ b/AsbCloudInfrastructure/DependencyInjection.cs @@ -1,12 +1,10 @@ using AsbCloudApp.Data; -using AsbCloudApp.Data.GTR; using AsbCloudApp.Data.SAUB; using AsbCloudApp.Data.Subsystems; using AsbCloudApp.Repositories; using AsbCloudApp.Services; using AsbCloudApp.Services.Subsystems; using AsbCloudDb.Model; -using AsbCloudDb.Model.GTR; using AsbCloudDb.Model.Subsystems; using AsbCloudInfrastructure.Background; using AsbCloudInfrastructure.Repository; @@ -102,9 +100,8 @@ namespace AsbCloudInfrastructure services.AddScoped(); services.AddSingleton(new WitsInfoService()); - services.AddSingleton(new InstantDataRepository()); - services.AddSingleton(provider=> TelemetryDataCache.GetInstance(configuration)); - services.AddSingleton(provider=> TelemetryDataCache.GetInstance(configuration)); + services.AddSingleton(provider => TelemetryDataCache.GetInstance(provider)); + services.AddSingleton(provider => TelemetryDataCache.GetInstance(provider)); services.AddSingleton(); services.AddSingleton(); services.AddSingleton();