diff --git a/src/app/setup-wizard/data-collection/on-site-assessment/assessment-details-form/assessment-details-form.component.css b/src/app/setup-wizard/data-collection/on-site-assessment/assessment-details-form/assessment-details-form.component.css
index c3c9bc86..99cbbfa2 100644
--- a/src/app/setup-wizard/data-collection/on-site-assessment/assessment-details-form/assessment-details-form.component.css
+++ b/src/app/setup-wizard/data-collection/on-site-assessment/assessment-details-form/assessment-details-form.component.css
@@ -4,7 +4,9 @@
border-left: var(--bs-border-width) solid var(--bs-border-color);
}
-.utility-row:hover, .utility-row:hover .disabled-input-label {
+.utility-row:hover,
+ .utility-row:hover .disabled-input-label,
+ .utility-row:hover .disabled-input-label-secondary{
background-color: #efefef;
}
diff --git a/src/app/setup-wizard/data-collection/on-site-assessment/assessment-details-form/assessment-details-form.component.html b/src/app/setup-wizard/data-collection/on-site-assessment/assessment-details-form/assessment-details-form.component.html
index 6a09df79..e7b8624c 100644
--- a/src/app/setup-wizard/data-collection/on-site-assessment/assessment-details-form/assessment-details-form.component.html
+++ b/src/app/setup-wizard/data-collection/on-site-assessment/assessment-details-form/assessment-details-form.component.html
@@ -73,7 +73,7 @@
Utility Types
&& !(use.utilityType | isStandardUnit :use.energyUnit : 'Energy')">
@@ -150,7 +150,9 @@ Utility Types
-
+
diff --git a/src/app/setup-wizard/data-collection/on-site-assessment/assessment-details-form/assessment-details-form.component.ts b/src/app/setup-wizard/data-collection/on-site-assessment/assessment-details-form/assessment-details-form.component.ts
index 03e27e7e..e88a3f36 100644
--- a/src/app/setup-wizard/data-collection/on-site-assessment/assessment-details-form/assessment-details-form.component.ts
+++ b/src/app/setup-wizard/data-collection/on-site-assessment/assessment-details-form/assessment-details-form.component.ts
@@ -52,6 +52,8 @@ export class AssessmentDetailsFormComponent {
convertValue = new ConvertValue();
assessmentEnergyOpportunities: Array;
+ numberOfTrackedUtilities: number = 0;
+ trackedEnergyUnit: string;
constructor(
private assessmentIdbService: AssessmentIdbService,
@@ -115,6 +117,8 @@ export class AssessmentDetailsFormComponent {
async calculateEnergyUseCost() {
this.updateEnergyOpportunities();
+ this.numberOfTrackedUtilities = this.assessment.utilityEnergyUses.filter(
+ _energyUse => _energyUse.include).length;
let use = 0, cost = 0;
this.assessment.utilityTypes.forEach(utilityType => {
let utilityEnergyUse: UtilityEnergyUse = this.assessment.utilityEnergyUses.find(
@@ -134,11 +138,13 @@ export class AssessmentDetailsFormComponent {
utilityEnergyUse.energyUse,
utilityEnergyUse.energyUnit,
this.companyEnergyUnit).convertedValue;
+ this.trackedEnergyUnit = utilityEnergyUse.energyUnit;
} else {
convertedUse = this.convertValue.convertValue(
utilityEnergyUse.energyUse * utilityEnergyUse.energyHHV,
utilityEnergyUse.energyUnitStandard,
this.companyEnergyUnit).convertedValue;
+ this.trackedEnergyUnit = utilityEnergyUse.energyUnitStandard;
}
use += convertedUse;
// calculate cost
diff --git a/src/app/setup-wizard/pre-visit/facility-energy-equipment-setup/energy-equipment-form/energy-equipment-form.component.html b/src/app/setup-wizard/pre-visit/facility-energy-equipment-setup/energy-equipment-form/energy-equipment-form.component.html
index 5c826371..0ba82153 100644
--- a/src/app/setup-wizard/pre-visit/facility-energy-equipment-setup/energy-equipment-form/energy-equipment-form.component.html
+++ b/src/app/setup-wizard/pre-visit/facility-energy-equipment-setup/energy-equipment-form/energy-equipment-form.component.html
@@ -183,8 +183,10 @@
id="energyUse" name="energyUse">
{{energyEquipment.annualEnergyUse | number:'1.0-2'}}
{{companyEnergyUnit | unitsDisplay}}
- ({{energyEquipment.annualEnergyUseByUtility | number:'1.0-2'}}
- {{energyEquipment.facilityUtilityUnit | unitsDisplay}})
+
+ / {{energyEquipment.annualEnergyUseByUtility | number:'1.0-2'}}
+ {{energyEquipment.facilityUtilityUnit | unitsDisplay}}
+
diff --git a/src/app/setup-wizard/pre-visit/pre-assessment-setup/pre-assessment-setup.component.css b/src/app/setup-wizard/pre-visit/pre-assessment-setup/pre-assessment-setup.component.css
index c3c9bc86..5d30b811 100644
--- a/src/app/setup-wizard/pre-visit/pre-assessment-setup/pre-assessment-setup.component.css
+++ b/src/app/setup-wizard/pre-visit/pre-assessment-setup/pre-assessment-setup.component.css
@@ -4,7 +4,9 @@
border-left: var(--bs-border-width) solid var(--bs-border-color);
}
-.utility-row:hover, .utility-row:hover .disabled-input-label {
+.utility-row:hover,
+ .utility-row:hover .disabled-input-label,
+ .utility-row:hover .disabled-input-label-secondary{
background-color: #efefef;
}
diff --git a/src/app/setup-wizard/pre-visit/pre-assessment-setup/pre-assessment-setup.component.html b/src/app/setup-wizard/pre-visit/pre-assessment-setup/pre-assessment-setup.component.html
index 5f6bf95c..3c928e0a 100644
--- a/src/app/setup-wizard/pre-visit/pre-assessment-setup/pre-assessment-setup.component.html
+++ b/src/app/setup-wizard/pre-visit/pre-assessment-setup/pre-assessment-setup.component.html
@@ -130,7 +130,7 @@ Utility Types
&& !(use.utilityType | isStandardUnit :use.energyUnit : 'Energy')">
diff --git a/src/app/shared/constants/assessmentTypes.ts b/src/app/shared/constants/assessmentTypes.ts
index 1ce8f6e7..0d479ad7 100644
--- a/src/app/shared/constants/assessmentTypes.ts
+++ b/src/app/shared/constants/assessmentTypes.ts
@@ -16,8 +16,8 @@ export const AssessmentOptions: Array = [
{assessmentType: "Pump", utilityTypes: ['Electricity']},
{assessmentType: "Fan", utilityTypes: ['Electricity']},
{assessmentType: "Process heating", utilityTypes: ['Natural Gas', 'Other Fuels', 'Electricity']},
- {assessmentType: "Steam", utilityTypes: ['Natural Gas', "Other Fuels", 'Electricity']},
- {assessmentType: "Compressed Air", utilityTypes: ['Electricity']},
+ {assessmentType: "Steam", utilityTypes: ['Natural Gas', "Other Fuels", 'Electricity', 'Steam']},
+ {assessmentType: "Compressed Air", utilityTypes: ['Electricity', 'Compressed Air']},
// {assessmentType: "Water", utilityTypes: ['Water']},
{assessmentType: "Treasure Hunt", utilityTypes: UtilityTypes},
{assessmentType: "Other", utilityTypes: UtilityTypes}