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.airvisualnode.internal.dto.airvisual;
18 * @author Victor Antonovich - Initial contribution
22 private String appVersion;
24 private long datetime;
26 private String sensorPm25Serial;
28 private String systemVersion;
29 private int usedMemory;
30 private int wifiStrength;
32 public Status(String appVersion, int battery, long datetime, String model, String sensorPm25Serial, int syncTime,
33 String systemVersion, int usedMemory, int wifiStrength) {
34 this.appVersion = appVersion;
35 this.battery = battery;
36 this.datetime = datetime;
38 this.sensorPm25Serial = sensorPm25Serial;
39 this.syncTime = syncTime;
40 this.systemVersion = systemVersion;
41 this.usedMemory = usedMemory;
42 this.wifiStrength = wifiStrength;
45 public String getAppVersion() {
49 public void setAppVersion(String appVersion) {
50 this.appVersion = appVersion;
53 public int getBattery() {
57 public void setBattery(int battery) {
58 this.battery = battery;
61 public long getDatetime() {
65 public void setDatetime(long datetime) {
66 this.datetime = datetime;
69 public String getModel() {
73 public void setModel(String model) {
77 public String getSensorPm25Serial() {
78 return sensorPm25Serial;
81 public void setSensorPm25Serial(String sensorPm25Serial) {
82 this.sensorPm25Serial = sensorPm25Serial;
85 public int getSyncTime() {
89 public void setSyncTime(int syncTime) {
90 this.syncTime = syncTime;
93 public String getSystemVersion() {
97 public void setSystemVersion(String systemVersion) {
98 this.systemVersion = systemVersion;
101 public int getUsedMemory() {
105 public void setUsedMemory(int usedMemory) {
106 this.usedMemory = usedMemory;
109 public int getWifiStrength() {
113 public void setWifiStrength(int wifiStrength) {
114 this.wifiStrength = wifiStrength;