Add SpinPlcVersion to TelemetryInfoDto

This commit is contained in:
Фролов 2021-10-13 17:15:00 +05:00
parent 80fdfce467
commit 4878a8c25c
2 changed files with 2 additions and 3 deletions

View File

@ -12,7 +12,8 @@ namespace AsbCloudApp.Data
public string Customer { get; set; } public string Customer { get; set; }
public string Deposit { get; set; } public string Deposit { get; set; }
public string HmiVersion { 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; } public string Comment { get; set; }
} }
} }

View File

@ -17,7 +17,6 @@ namespace AsbCloudInfrastructure.Services.WellOperationService
private readonly IAsbCloudDbContext db; private readonly IAsbCloudDbContext db;
private readonly IWellService wellService; private readonly IWellService wellService;
private readonly CacheTable<WellSectionType> cacheSectionsTypes; private readonly CacheTable<WellSectionType> cacheSectionsTypes;
private readonly CacheTable<Well> cacheWell;
private readonly CacheTable<WellType> cacheWellType; private readonly CacheTable<WellType> cacheWellType;
private readonly CacheTable<Cluster> cacheCluster; private readonly CacheTable<Cluster> cacheCluster;
private const int idOperationBhaAssembly = 1025; private const int idOperationBhaAssembly = 1025;
@ -35,7 +34,6 @@ namespace AsbCloudInfrastructure.Services.WellOperationService
this.db = db; this.db = db;
this.wellService = wellService; this.wellService = wellService;
cacheSectionsTypes = cache.GetCachedTable<WellSectionType>((DbContext)db); cacheSectionsTypes = cache.GetCachedTable<WellSectionType>((DbContext)db);
cacheWell = cache.GetCachedTable<Well>((DbContext)db);
cacheWellType = cache.GetCachedTable<WellType>((DbContext)db); cacheWellType = cache.GetCachedTable<WellType>((DbContext)db);
cacheCluster = cache.GetCachedTable<Cluster>((DbContext)db); cacheCluster = cache.GetCachedTable<Cluster>((DbContext)db);
} }