RouteCosts Class Reference

Properties

double? FuelEconomyLoaded[get, set]
 Gets or sets the fuel efficiency (distance units per fuel volume units) when loaded. More...
 
double? FuelEconomyEmpty[get, set]
 Gets or sets the fuel efficiency (distance units per volume units) when empty. More...
 
double? PricePerFuelUnit[get, set]
 Gets or sets the price per gallon of fuel. More...
 
TruckStyle TruckStyle[get, set]
 Loads a vehicle profile which includes vehicle dimensions, route costs and other routing options for a specific vehicle class. See TruckStyle for more information. More...
 
double? GreenHouseGas[get, set]
 Gets or sets the greenhouse gas cost in lbs. per fuel unit. More...
 
double? OtherCostPerDistUnitLoaded[get, set]
 Gets or sets the maintenance cost per distance unit when loaded. More...
 
double? OtherCostPerDistanceUnitEmpty[get, set]
 Gets or sets the maintenance cost per mile when empty. More...
 
double? CostTimeLoaded[get, set]
 Gets or sets the estimated labor or other cost per hour when loaded. More...
 
double? CostTimeEmpty[get, set]
 Gets or sets the estimated labor or other cost per hour when empty. More...
 

Detailed Description

Represents route cost information associated with a Route and subclasses such as MapRoute and ReportRoute

Property Documentation

◆ FuelEconomyLoaded

double? FuelEconomyLoaded
getset

Gets or sets the fuel efficiency (distance units per fuel volume units) when loaded.

Set the FuelUnits in the ReportOptions class

◆ FuelEconomyEmpty

double? FuelEconomyEmpty
getset

Gets or sets the fuel efficiency (distance units per volume units) when empty.

Set the FuelUnits in the ReportOptions class

◆ PricePerFuelUnit

double? PricePerFuelUnit
getset

Gets or sets the price per gallon of fuel.

Set the FuelUnits in the ReportOptions class

◆ TruckStyle

Loads a vehicle profile which includes vehicle dimensions, route costs and other routing options for a specific vehicle class. See TruckStyle for more information.

This is deprecated in v32. We recommend using RouteOptions.VehicleProfile instead. Setting a truck style to any value besides None will override any TruckConfig that has been set.

◆ GreenHouseGas

double? GreenHouseGas
getset

Gets or sets the greenhouse gas cost in lbs. per fuel unit.

Set the FuelUnits in the ReportOptions class

◆ OtherCostPerDistUnitLoaded

double? OtherCostPerDistUnitLoaded
getset

Gets or sets the maintenance cost per distance unit when loaded.

Set the DistanceUnits in the RouteOptions class

◆ OtherCostPerDistanceUnitEmpty

double? OtherCostPerDistanceUnitEmpty
getset

Gets or sets the maintenance cost per mile when empty.

Set the DistanceUnits in the RouteOptions class

◆ CostTimeLoaded

double? CostTimeLoaded
getset

Gets or sets the estimated labor or other cost per hour when loaded.

◆ CostTimeEmpty

double? CostTimeEmpty
getset

Gets or sets the estimated labor or other cost per hour when empty.