]> git.basschouten.com Git - openhab-addons.git/blob
3e5c5efa945c9cfb13c2df7de06c234919a4785e
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2022 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.bmwconnecteddrive.internal.dto.compat;
14
15 import com.google.gson.annotations.SerializedName;
16
17 /**
18  * The {@link VehicleAttributes} Data Transfer Object
19  *
20  * @author Bernd Weymann - Initial contribution
21  */
22 public class VehicleAttributes {
23     // Windows & Doors
24     @SerializedName("door_driver_front")
25     public String doorDriverFront;// "CLOSED",
26     @SerializedName("door_driver_rear")
27     public String doorDriverRear;// "CLOSED",
28     @SerializedName("door_passenger_front")
29     public String doorPassengerFront;// "CLOSED",
30     @SerializedName("door_passenger_rear")
31     public String doorPassengerRear;// "CLOSED",
32     @SerializedName("hood_state")
33     public String hoodState;// "CLOSED",
34     @SerializedName("trunk_state")
35     public String trunkState;// "CLOSED",
36     @SerializedName("window_driver_front")
37     public String winDriverFront;// "CLOSED",
38     @SerializedName("window_driver_rear")
39     public String winDriverRear;// "CLOSED",
40     @SerializedName("window_passenger_front")
41     public String winPassengerFront;// "CLOSED",
42     @SerializedName("window_passenger_rear")
43     public String winPassengerRear;// "CLOSED",
44     @SerializedName("sunroof_state")
45     public String sunroofState;// "CLOSED",
46     @SerializedName("door_lock_state")
47     public String doorLockState;// "SECURED",
48     public String shdStatusUnified;// "CLOSED",
49
50     // Charge Status
51     public String chargingHVStatus;// "INVALID",
52     public String lastChargingEndReason;// "CHARGING_GOAL_REACHED",
53     public String connectorStatus;// "DISCONNECTED",
54     public String chargingLogicCurrentlyActive;// "NOT_CHARGING",
55     public String chargeNowAllowed;// "NOT_ALLOWED",
56     @SerializedName("charging_status")
57     public String chargingStatus;// "NOCHARGING",
58     public String lastChargingEndResult;// "SUCCESS",
59     public String chargingSystemStatus;// "NOCHARGING",
60     public String lastUpdateReason;// "VEHCSHUTDOWN_SECURED"
61
62     // Range
63     public int mileage;// "17236",
64     public double beMaxRangeElectric;// "209.0",
65     public double beMaxRangeElectricKm;// "209.0",
66     public double beRemainingRangeElectric;// "179.0",
67     public double beRemainingRangeElectricKm;// "179.0",
68     public double beMaxRangeElectricMile;// "129.0",
69     public double beRemainingRangeElectricMile;// "111.0",
70     public double beRemainingRangeFuelKm;// "67.0",
71     public double beRemainingRangeFuelMile;// "41.0",
72     public double beRemainingRangeFuel;// "67.0",
73     @SerializedName("kombi_current_remaining_range_fuel")
74     public double kombiRemainingRangeFuel;// "67.0",
75
76     public double chargingLevelHv;// "89.0",
77     @SerializedName("soc_hv_percent")
78     public double socHvPercent;// "82.6",
79     @SerializedName("remaining_fuel")
80     public double remainingFuel;// "4",
81     public double fuelPercent;// "47",
82
83     // Last Status update
84     public String updateTime;// "22.08.2020 12:55:46 UTC",
85     @SerializedName("updateTime_converted")
86     public String updateTimeConverted;// "22.08.2020 13:55",
87     @SerializedName("updateTime_converted_date")
88     public String updateTimeConvertedDate;// "22.08.2020",
89     @SerializedName("updateTime_converted_time")
90     public String updateTimeConvertedTime;// "13:55",
91     @SerializedName("updateTime_converted_timestamp")
92     public String updateTimeConvertedTimestamp;// "1598104546000",
93
94     // Last Trip Update
95     @SerializedName("Segment_LastTrip_time_segment_end")
96     public String lastTripEnd;// "22.08.2020 14:52:00 UTC",
97     @SerializedName("Segment_LastTrip_time_segment_end_formatted")
98     public String lastTripEndFormatted;// "22.08.2020 14:52",
99     @SerializedName("Segment_LastTrip_time_segment_end_formatted_date")
100     public String lastTripEndFormattedDate;// "22.08.2020",
101     @SerializedName("Segment_LastTrip_time_segment_end_formatted_time")
102     public String lastTripEndFormattedTime;// "14:52",
103
104     // Location
105     @SerializedName("gps_lat")
106     public float gpsLat;// "43.21",
107     @SerializedName("gps_lng")
108     public float gpsLon;// "8.765",
109     public int heading;// "41",
110
111     public String unitOfLength;// "km",
112     public String unitOfEnergy;// "kWh",
113     @SerializedName("vehicle_tracking")
114     public String vehicleTracking;// "1",
115     @SerializedName("head_unit_pu_software")
116     public String headunitSoftware;// "07/16",
117     @SerializedName("check_control_messages")
118     public String checkControlMessages;// "",
119     @SerializedName("sunroof_position")
120     public String sunroofPosition;// "0",
121     @SerializedName("single_immediate_charging")
122     public String singleImmediateCharging;// "isUnused",
123     public String unitOfCombustionConsumption;// "l/100km",
124     @SerializedName("Segment_LastTrip_ratio_electric_driven_distance")
125     public String lastTripElectricRation;// "100",
126     @SerializedName("condition_based_services")
127     public String conditionBasedServices;// "00003,OK,2021-11,;00017,OK,2021-11,;00001,OK,2021-11,;00032,OK,2021-11,",
128     @SerializedName("charging_inductive_positioning")
129     public String chargingInductivePositioning;// "not_positioned",
130     @SerializedName("lsc_trigger")
131     public String lscTrigger;// "VEHCSHUTDOWN_SECURED",
132     @SerializedName("lights_parking")
133     public String lightsParking;// "OFF",
134     public String prognosisWhileChargingStatus;// "NOT_NEEDED",
135     @SerializedName("head_unit")
136     public String headunit;// "EntryNav",
137     @SerializedName("battery_size_max")
138     public String batterySizeMax;// "33200",
139     @SerializedName("charging_connection_type")
140     public String chargingConnectionType;// "CONDUCTIVE",
141     public String unitOfElectricConsumption;// "kWh/100km",
142 }