From 38b9691e66084828aae662659ab34d793e2d8349 Mon Sep 17 00:00:00 2001 From: rmroot Date: Thu, 23 May 2024 12:14:16 -0500 Subject: [PATCH] update generated hdd and cdd names with temp threshold --- src/app/weather-data/weather-data.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/weather-data/weather-data.component.ts b/src/app/weather-data/weather-data.component.ts index fb16e431..51410a58 100644 --- a/src/app/weather-data/weather-data.component.ts +++ b/src/app/weather-data/weather-data.component.ts @@ -108,7 +108,7 @@ export class WeatherDataComponent { let cddPredictor: PredictorData; if (this.weatherDataSelection == 'HDD' || this.weatherDataSelection == 'degreeDays') { hddPredictor = this.predictorDbService.getNewPredictor(facilityPredictorsCopy); - hddPredictor.name = 'HDD Generated'; + hddPredictor.name = 'HDD Generated ' + '(' + this.weatherDataService.heatingTemp + "F)"; hddPredictor.predictorType = 'Weather'; hddPredictor.weatherDataType = 'HDD'; hddPredictor.heatingBaseTemperature = this.weatherDataService.heatingTemp; @@ -117,7 +117,7 @@ export class WeatherDataComponent { } if (this.weatherDataSelection == 'CDD' || this.weatherDataSelection == 'degreeDays') { cddPredictor = this.predictorDbService.getNewPredictor(facilityPredictorsCopy) - cddPredictor.name = 'CDD Generated'; + cddPredictor.name = 'CDD Generated ' + '(' + this.weatherDataService.coolingTemp + "F)"; cddPredictor.predictorType = 'Weather'; cddPredictor.weatherDataType = 'CDD'; cddPredictor.coolingBaseTemperature = this.weatherDataService.coolingTemp;