]> git.basschouten.com Git - openhab-addons.git/blob
8cda59acd5d3d6ef341a7299cbc38eb610d15610
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 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.mybmw.internal.dto.vehicle;
14
15 /**
16  * 
17  * derived from API response
18  * 
19  * @author Martin Grassl - initial contribution
20  */
21 public class VehicleTireStateStatus {
22     private int currentPressure = -1; // 280,
23     private int targetPressure = -1; // 290
24
25     public int getCurrentPressure() {
26         return currentPressure;
27     }
28
29     public void setCurrentPressure(int currentPressure) {
30         this.currentPressure = currentPressure;
31     }
32
33     public int getTargetPressure() {
34         return targetPressure;
35     }
36
37     public void setTargetPressure(int targetPressure) {
38         this.targetPressure = targetPressure;
39     }
40
41     @Override
42     public String toString() {
43         return "VehicleTireStateStatus [currentPressure=" + currentPressure + ", targetPressure=" + targetPressure
44                 + "]";
45     }
46 }