]> git.basschouten.com Git - openhab-addons.git/blob
6dd590ebbfa70d124dafca3e629747bc4c3a1c52
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2020 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.fronius.internal.api;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link PowerFlowRealtimeInverter} is responsible for storing
19  * the "inverter" node of the JSON response
20  *
21  * @author Thomas Rokohl - Initial contribution
22  */
23 public class PowerFlowRealtimeInverter {
24
25     @SerializedName("DT")
26     private double dt;
27     @SerializedName("P")
28     private double p;
29     @SerializedName("E_Day")
30     private double eDay;
31     @SerializedName("E_Year")
32     private double eYear;
33     @SerializedName("E_Total")
34     private double eTotal;
35
36     public double getDt() {
37         return dt;
38     }
39
40     public void setDt(double dt) {
41         this.dt = dt;
42     }
43
44     public double getP() {
45         return p;
46     }
47
48     public void setP(double p) {
49         this.p = p;
50     }
51
52     public double geteDay() {
53         return eDay;
54     }
55
56     public void seteDay(double eDay) {
57         this.eDay = eDay;
58     }
59
60     public double geteYear() {
61         return eYear;
62     }
63
64     public void seteYear(double eYear) {
65         this.eYear = eYear;
66     }
67
68     public double geteTotal() {
69         return eTotal;
70     }
71
72     public void seteTotal(double eTotal) {
73         this.eTotal = eTotal;
74     }
75 }