]> git.basschouten.com Git - openhab-addons.git/blob
875314ac2ba1a92f8eb1eb31eb9a373c3081ba06
[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 ChargeState} is a datastructure to capture
17  * variables sent by the Tesla Vehicle
18  *
19  * @author Karel Goderis - Initial contribution
20  */
21 public class ChargeState {
22     public boolean battery_heater_on;
23     public boolean charge_enable_request;
24     public boolean charge_port_door_open;
25     public boolean charge_to_max_range;
26     public boolean eu_vehicle;
27     public boolean fast_charger_present;
28     public boolean managed_charging_active;
29     public boolean managed_charging_user_canceled;
30     public boolean motorized_charge_port;
31     public boolean not_enough_power_to_heat;
32     public boolean scheduled_charging_pending;
33     public boolean trip_charging;
34     public float battery_current;
35     public float battery_range;
36     public float charge_energy_added;
37     public float charge_miles_added_ideal;
38     public float charge_miles_added_rated;
39     public float charge_rate;
40     public float est_battery_range;
41     public float ideal_battery_range;
42     public float time_to_full_charge;
43     public int battery_level;
44     public int charge_amps;
45     public int charge_current_request;
46     public int charge_current_request_max;
47     public int charge_limit_soc;
48     public int charge_limit_soc_max;
49     public int charge_limit_soc_min;
50     public int charge_limit_soc_std;
51     public int charger_actual_current;
52     public int charger_phases;
53     public int charger_pilot_current;
54     public int charger_power;
55     public int charger_voltage;
56     public int max_range_charge_counter;
57     public int usable_battery_level;
58     public String charge_port_latch;
59     public String charging_state;
60     public String conn_charge_cable;
61     public String fast_charger_brand;
62     public String fast_charger_type;
63     public String managed_charging_start_time;
64     public String scheduled_charging_start_time;
65     public String user_charge_enable_request;
66
67     ChargeState() {
68     }
69 }