2 * Copyright (c) 2010-2021 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.bmwconnecteddrive.internal.dto.statistics;
16 * The {@link LastTrip} Data Transfer Object
18 * @author Bernd Weymann - Initial contribution
20 public class LastTrip {
21 public float efficiencyValue;// ": 0.98,
22 public float totalDistance;// ": 2,
23 public float electricDistance;// ": 2,
24 public float avgElectricConsumption;// ": 7,
25 public float avgRecuperation;// ": 6,
26 public float drivingModeValue;// ": 0.87,
27 public float accelerationValue;// ": 0.99,
28 public float anticipationValue;// ": 0.99,
29 public float totalConsumptionValue;// ": 1.25,
30 public float auxiliaryConsumptionValue;// ": 0.78,
31 public float avgCombinedConsumption;// ": 0,
32 public float electricDistanceRatio;// ": 100,
33 public float savedFuel;// ": 0,
34 public String date;// ": "2020-08-24T17:55:00+0000",
35 public float duration;// ": 5