forked from ddrilling/AsbCloudServer
Disabled Telemetry analytics calculation
This commit is contained in:
parent
614519c3c8
commit
99ec0dedaf
@ -17,7 +17,7 @@ namespace AsbCloudInfrastructure.Services
|
||||
{
|
||||
private readonly IAsbCloudDbContext db;
|
||||
private readonly ITelemetryService telemetryService;
|
||||
private readonly ITelemetryAnalyticsService analyticsService;
|
||||
//private readonly ITelemetryAnalyticsService analyticsService;
|
||||
private readonly CacheTable<Telemetry> cacheTelemetry;
|
||||
private readonly CacheTable<TelemetryUser> cacheTelemetryUsers;
|
||||
private readonly CacheTable<Well> cacheWells;
|
||||
@ -27,7 +27,7 @@ namespace AsbCloudInfrastructure.Services
|
||||
{
|
||||
this.db = db;
|
||||
this.telemetryService = telemetryService;
|
||||
this.analyticsService = analyticsService;
|
||||
//this.analyticsService = analyticsService;
|
||||
cacheTelemetry = cacheDb.GetCachedTable<Telemetry>((AsbCloudDbContext)db);
|
||||
cacheTelemetryUsers = cacheDb.GetCachedTable<TelemetryUser>((AsbCloudDbContext)db);
|
||||
cacheWells = cacheDb.GetCachedTable<Well>((AsbCloudDbContext)db);
|
||||
@ -107,8 +107,8 @@ namespace AsbCloudInfrastructure.Services
|
||||
dataSaub.IdTelemetry = telemetryId;
|
||||
db.TelemetryDataSaub.Add(dataSaub);
|
||||
|
||||
dto.IdTelemetry = telemetryId;
|
||||
analyticsService.SaveAnalytics(dto);
|
||||
//dto.IdTelemetry = telemetryId;
|
||||
//analyticsService.SaveAnalytics(dto);
|
||||
}
|
||||
|
||||
return await db.SaveChangesAsync(token);
|
||||
|
Loading…
Reference in New Issue
Block a user