]> git.basschouten.com Git - openhab-addons.git/blob
5751a9ffdb87d0111ea73ef04df8aeba89bf02e4
[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.tesla.internal.protocol;
14
15 /**
16  * The {@link DriveState} is a datastructure to capture
17  * variables sent by the Tesla Vehicle
18  *
19  * @author Karel Goderis - Initial contribution
20  */
21 public class DriveState {
22
23     public String active_route_destination;
24     public double active_route_latitude;
25     public double active_route_longitude;
26     public double active_route_miles_to_arrival;
27     public double active_route_minutes_to_arrival;
28     public double active_route_traffic_minutes_delay;
29     public double latitude;
30     public double longitude;
31     public double native_latitude;
32     public double native_longitude;
33     public int gps_as_of;
34     public int heading;
35     public int native_location_supported;
36     public String native_type;
37     public String shift_state;
38     public String speed;
39
40     DriveState() {
41     }
42 }