2 * Copyright (c) 2010-2024 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
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
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.fronius.internal.api;
15 import com.google.gson.annotations.SerializedName;
18 * The {@link PowerFlowRealtimeSite} is responsible for storing
21 * @author Thomas Rokohl - Initial contribution
23 public class PowerFlowRealtimeSite {
25 @SerializedName("Mode")
27 @SerializedName("P_Grid")
29 @SerializedName("P_Load")
31 @SerializedName("P_Akku")
33 @SerializedName("P_PV")
35 @SerializedName("rel_SelfConsumption")
36 private double relSelfConsumption;
37 @SerializedName("rel_Autonomy")
38 private double relAutonomy;
39 @SerializedName("E_Day")
41 @SerializedName("E_Year")
43 @SerializedName("E_Total")
44 private double eTotal;
45 @SerializedName("Meter_Location")
46 private String meterLocation;
48 public String getMode() {
55 public void setMode(String mode) {
59 public double getPgrid() {
63 public void setPgrid(double pgrid) {
67 public double getPload() {
71 public void setPload(double pload) {
75 public double getPakku() {
79 public void setPakku(double pakku) {
83 public double getPpv() {
87 public void setPpv(double ppv) {
91 public double getRelSelfConsumption() {
92 return relSelfConsumption;
95 public void setRelSelfConsumption(double relSelfConsumption) {
96 this.relSelfConsumption = relSelfConsumption;
99 public double getRelAutonomy() {
103 public void setRelAutonomy(double relAutonomy) {
104 this.relAutonomy = relAutonomy;
107 public double geteDay() {
111 public void seteDay(double eDay) {
115 public double geteYear() {
119 public void seteYear(double eYear) {
123 public double geteTotal() {
127 public void seteTotal(double eTotal) {
128 this.eTotal = eTotal;
131 public String getMeterLocation() {
132 return meterLocation;
135 public void setMeterLocation(String meterLocation) {
136 this.meterLocation = meterLocation;