diff --git a/src/app/standby-power/standby-power-in-period.ts b/src/app/standby-power/standby-power-in-period.ts index 3e3c176..d12df03 100644 --- a/src/app/standby-power/standby-power-in-period.ts +++ b/src/app/standby-power/standby-power-in-period.ts @@ -2,6 +2,7 @@ export class StandbyPowerInPeriod { public fromDate: Date; public toDate: Date; public standbyPower: number; + public approxYearlyUsageKwh: number; public costsOfStandByPower: number; public totalCostsOfPower: number; diff --git a/src/app/standby-power/standby-power.component.html b/src/app/standby-power/standby-power.component.html index 9b7efa9..b21707f 100644 --- a/src/app/standby-power/standby-power.component.html +++ b/src/app/standby-power/standby-power.component.html @@ -16,6 +16,7 @@ Maand Verbruik Kosten + Verbruik per jaar % totale kosten* % tijd** @@ -24,9 +25,10 @@ {{ standbyPowerInPeriod.fromDate | date : 'MMMM'}} {{standbyPowerInPeriod.standbyPower}} Watt - {{standbyPowerInPeriod.costsOfStandByPower | currency: 'EUR'}} - {{standbyPowerInPeriod.percentageOfTotalCost}} % - {{standbyPowerInPeriod.percentageOfTotalPeriod}} % + {{standbyPowerInPeriod.costsOfStandByPower | currency: 'EUR'}} + {{standbyPowerInPeriod.approxYearlyUsageKwh}} kWh + {{standbyPowerInPeriod.percentageOfTotalCost}} % + {{standbyPowerInPeriod.percentageOfTotalPeriod}} %