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 PowerFlowRealtimeInverter} is responsible for storing
19 * the "inverter" node of the JSON response
21 * @author Thomas Rokohl - Initial contribution
22 * @author Thomas Kordelle - Added inverter power, battery state of charge and PV solar yield
24 public class PowerFlowRealtimeInverter {
30 @SerializedName("E_Day")
32 @SerializedName("E_Year")
34 @SerializedName("E_Total")
35 private double eTotal;
36 @SerializedName("Battery_Mode")
37 private String batteryMode;
38 @SerializedName("SOC")
41 public double getDt() {
45 public void setDt(double dt) {
49 public double getP() {
53 public void setP(double p) {
57 public double geteDay() {
61 public void seteDay(double eDay) {
65 public double geteYear() {
69 public void seteYear(double eYear) {
73 public double geteTotal() {
77 public void seteTotal(double eTotal) {
81 public String getBatteryMode() {
85 public void setBatteryMode(final String batteryMode) {
86 this.batteryMode = batteryMode;
89 public double getSoc() {
93 public void setSoc(double soc) {