]> git.basschouten.com Git - openhab-addons.git/blob
5dd5c95410c07b10511e708cac0248330d183dd4
[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.sensebox.internal.dto;
14
15 /**
16  * The {@link SenseBoxLocation} holds a de-serialized representation
17  * of the API response and the data therein...
18  *
19  * @author Hakan Tandogan - Initial contribution
20  */
21 public class SenseBoxLocation {
22
23     private double latitude;
24
25     private double longitude;
26
27     private double height;
28
29     public double getLatitude() {
30         return latitude;
31     }
32
33     public void setLatitude(double latitude) {
34         this.latitude = latitude;
35     }
36
37     public double getLongitude() {
38         return longitude;
39     }
40
41     public void setLongitude(double longitude) {
42         this.longitude = longitude;
43     }
44
45     public double getHeight() {
46         return height;
47     }
48
49     public void setHeight(double height) {
50         this.height = height;
51     }
52 }