From 4878a8c25c4bcc4533b8fc6add32b752b8d5b53c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A4=D1=80=D0=BE=D0=BB=D0=BE=D0=B2?= Date: Wed, 13 Oct 2021 17:15:00 +0500 Subject: [PATCH] Add SpinPlcVersion to TelemetryInfoDto --- AsbCloudApp/Data/TelemetryInfoDto.cs | 3 ++- .../Services/WellOperationService/WellOperationsStatService.cs | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/AsbCloudApp/Data/TelemetryInfoDto.cs b/AsbCloudApp/Data/TelemetryInfoDto.cs index 93843898..0b601db6 100644 --- a/AsbCloudApp/Data/TelemetryInfoDto.cs +++ b/AsbCloudApp/Data/TelemetryInfoDto.cs @@ -12,7 +12,8 @@ namespace AsbCloudApp.Data public string Customer { get; set; } public string Deposit { get; set; } public string HmiVersion { get; set; } - public string PlcVersion { get; set; } + public string SaubPlcVersion { get; set; } + public string SpinPlcVersion { get; set; } public string Comment { get; set; } } } diff --git a/AsbCloudInfrastructure/Services/WellOperationService/WellOperationsStatService.cs b/AsbCloudInfrastructure/Services/WellOperationService/WellOperationsStatService.cs index e4dd0738..db6e3b5b 100644 --- a/AsbCloudInfrastructure/Services/WellOperationService/WellOperationsStatService.cs +++ b/AsbCloudInfrastructure/Services/WellOperationService/WellOperationsStatService.cs @@ -17,7 +17,6 @@ namespace AsbCloudInfrastructure.Services.WellOperationService private readonly IAsbCloudDbContext db; private readonly IWellService wellService; private readonly CacheTable cacheSectionsTypes; - private readonly CacheTable cacheWell; private readonly CacheTable cacheWellType; private readonly CacheTable cacheCluster; private const int idOperationBhaAssembly = 1025; @@ -35,7 +34,6 @@ namespace AsbCloudInfrastructure.Services.WellOperationService this.db = db; this.wellService = wellService; cacheSectionsTypes = cache.GetCachedTable((DbContext)db); - cacheWell = cache.GetCachedTable((DbContext)db); cacheWellType = cache.GetCachedTable((DbContext)db); cacheCluster = cache.GetCachedTable((DbContext)db); }