added fields for odometer adjustments.

This commit is contained in:
DESKTOP-GENO133\IvanPlex
2024-03-15 10:16:28 -06:00
parent 35f931adf2
commit 618107e515
5 changed files with 105 additions and 48 deletions

View File

@@ -14,7 +14,14 @@
public bool UseHours { get; set; } = false;
public List<ExtraField> ExtraFields { get; set; } = new List<ExtraField>();
public List<string> Tags { get; set; } = new List<string>();
public string OdometerModifier { get; set; } = "1";
public string OdometerAdjustment { get; set; } = "0";
public bool HasOdometerAdjustment { get; set; } = false;
/// <summary>
/// Primarily used for vehicles with odometer units different from user's settings.
/// </summary>
public string OdometerMultiplier { get; set; } = "1";
/// <summary>
/// Primarily used for vehicles where the odometer does not reflect actual mileage.
/// </summary>
public string OdometerDifference { get; set; } = "0";
}
}