]> git.basschouten.com Git - openhab-addons.git/blob
5b94ed15f691df12eac6356c1ef1ed843e676534
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
7  * This program and the accompanying materials are made available under the
8  * terms of the Eclipse Public License 2.0 which is available at
9  * http://www.eclipse.org/legal/epl-2.0
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.semsportal.internal.dto;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * POJO for mapping the SEMS portal data response /data/kpi
19  *
20  * @author Iwan Bron - Initial contribution
21  *
22  */
23 public class KeyPerformanceIndicators {
24     @SerializedName("pac")
25     private Double currentOutput;
26     @SerializedName("month_generation")
27     private Double monthPower;
28     @SerializedName("total_power")
29     private Double totalPower;
30     @SerializedName("day_income")
31     private Double dayIncome;
32     @SerializedName("total_income")
33     private Double totalIncome;
34     @SerializedName("yield_rate")
35     private Double yieldRate;
36     private String currency;
37
38     public Double getCurrentOutput() {
39         return currentOutput;
40     }
41
42     public Double getMonthPower() {
43         return monthPower;
44     }
45
46     public Double getTotalPower() {
47         return totalPower;
48     }
49
50     public Double getDayIncome() {
51         return dayIncome;
52     }
53
54     public Double getTotalIncome() {
55         return totalIncome;
56     }
57
58     public Double getYieldRate() {
59         return yieldRate;
60     }
61
62     public String getCurrency() {
63         return currency;
64     }
65 }