Table of Contents

Class FuelTankCapacity

Namespace
Geotab.Checkmate.ObjectModel.Fuel
Assembly
Geotab.Checkmate.ObjectModel.dll

Represent a vehicle's fuel tank capacity and how it was derived.

public class FuelTankCapacity : IDefaultable
Inheritance
FuelTankCapacity
Implements
Inherited Members

Constructors

FuelTankCapacity(double?, FuelTankCapacitySource?)

Initializes a new instance of the FuelTankCapacity class.

public FuelTankCapacity(double? volume = null, FuelTankCapacitySource? source = null)

Parameters

volume double?

The volume.

source FuelTankCapacitySource?

The source.

Properties

Source

Gets or sets the FuelTankCapacitySource.

public FuelTankCapacitySource? Source { get; set; }

Property Value

FuelTankCapacitySource?

FuelTankCapacitySource

Volume

Gets or sets the volume (L). Default [-1].

public double? Volume { get; set; }

Property Value

double?

double

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PopulateDefaults()

Populate non-required empty (null) properties with default values.

public void PopulateDefaults()