added support for UK MPG

This commit is contained in:
DESKTOP-T0O5CDB\DESK-555BD
2024-01-08 15:11:23 -07:00
parent 3fa3dbaa8c
commit 26012bf27a
8 changed files with 68 additions and 21 deletions

View File

@@ -9,8 +9,8 @@ namespace CarCareTracker.MapProfile
{
Map(m => m.Date).Name(["date", "fuelup_date"]);
Map(m => m.Odometer).Name(["odometer"]);
Map(m => m.FuelConsumed).Name(["gallons", "liters", "litres"]);
Map(m => m.Cost).Name(["cost", "total cost", "totalcost"]);
Map(m => m.FuelConsumed).Name(["gallons", "liters", "litres", "consumption", "fuelconsumed"]);
Map(m => m.Cost).Name(["cost", "total cost", "totalcost", "total price"]);
Map(m => m.Notes).Name("notes", "note");
Map(m => m.Price).Name(["price"]);
Map(m => m.PartialFuelUp).Name(["partial_fuelup"]);