-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class EvModelInfo implements Parcelable
define the static EV model information related with EV trip planning.
-
-
Field Summary
Fields Modifier and Type Field Description private final VehicleCategoryvehicleCategoryprivate final StringmodelNameprivate final FloatmaxChargingPowerprivate final FloatbatteryCapacityprivate final FloatenergyConsumptionprivate final IntegervehicleCategoryOrdinalprivate final IntegerenergyType
-
Method Summary
Modifier and Type Method Description final VehicleCategorygetVehicleCategory()final StringgetModelName()The EV model name represented by the manufacturer. final FloatgetMaxChargingPower()Maximum charging power supported by the electric vehicle in kiloWatts (kW), default is 0 which means the vehicle does not run on battery. final FloatgetBatteryCapacity()Battery capacity of the electric vehicle in kiloWatt-hour (kWh), default is 0 which means vehicle does not run on battery This mandatory field is for vehicles that run on battery final FloatgetEnergyConsumption()Energy consumption on battery in Watt-hour (Wh) per kilometer, default is 0 which means vehicle does not run on battery This optional field is for vehicles that run on battery final IntegergetVehicleCategoryOrdinal()This electric vehicle supported category by TA SDK, such as Auto, Truck, etc. final IntegergetEnergyType()Energy type the vehicle runs on, default is Unknown This field is backward compatible with the detailed electric energy classification. -
-
Method Detail
-
getVehicleCategory
final VehicleCategory getVehicleCategory()
-
getModelName
final String getModelName()
The EV model name represented by the manufacturer. The model name is case-sensitive.
-
getMaxChargingPower
final Float getMaxChargingPower()
Maximum charging power supported by the electric vehicle in kiloWatts (kW), default is 0 which means the vehicle does not run on battery. This optional field is for vehicles that run on battery.
-
getBatteryCapacity
final Float getBatteryCapacity()
Battery capacity of the electric vehicle in kiloWatt-hour (kWh), default is 0 which means vehicle does not run on battery This mandatory field is for vehicles that run on battery
-
getEnergyConsumption
final Float getEnergyConsumption()
Energy consumption on battery in Watt-hour (Wh) per kilometer, default is 0 which means vehicle does not run on battery This optional field is for vehicles that run on battery
-
getVehicleCategoryOrdinal
final Integer getVehicleCategoryOrdinal()
This electric vehicle supported category by TA SDK, such as Auto, Truck, etc.
-
getEnergyType
final Integer getEnergyType()
Energy type the vehicle runs on, default is Unknown This field is backward compatible with the detailed electric energy classification.
-
-
-
-