2 * Copyright (c) 2010-2023 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.semsportal.internal.dto;
15 import com.google.gson.annotations.SerializedName;
18 * POJO for mapping the portal data response to the {@link StatusRequest} and the {@Link StationListRequest}
20 * @author Iwan Bron - Initial contribution
23 public class Station {
24 @SerializedName("powerstation_id")
25 private String stationId;
26 @SerializedName("stationname")
29 private String serialNumber;
31 private Double capacity;
33 @SerializedName("out_pac")
34 private Double currentPower;
35 @SerializedName("eday")
36 private Double dayTotal;
37 @SerializedName("emonth")
38 private Double monthTotal;
39 @SerializedName("etotal")
40 private Double overallTotal;
42 private InverterDetails details;
44 public String getStationId() {
48 public String getName() {
52 public String getSerialNumber() {
56 public String getType() {
60 public Double getCapacity() {
64 public int getStatus() {
68 public Double getCurrentPower() {
72 public Double getDayTotal() {
76 public Double getMonthTotal() {
80 public Double getOverallTotal() {
84 public InverterDetails getDetails() {