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.tesla.internal.protocol;
16 * The {@link DriveState} is a datastructure to capture
17 * variables sent by the Tesla Vehicle
19 * @author Karel Goderis - Initial contribution
21 public class DriveState {
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;
35 public int native_location_supported;
36 public String native_type;
37 public String shift_state;