Telogis.GeoBase.Routing.VehicleSpec |
Used to describe a vehicle's specifications.
// Create a new vehicle specifications object var VehSpec = new Telogis.GeoBase.Routing.VehicleSpec(); // Set some vehicle properties (weight, height, length, width etc.) VehSpec.GrossWeight_kg = 30000; // 30 tonnes VehSpec.Height_cm = 410; // 4.1 meters high VehSpec.Length_cm = 1800; // 18 meters long VehSpec.Width_cm = 260; // 2.6 meters wide // Apply the VehicleSpec to a route -- // Routes will now be generated that are safe for a vehicle with // the described specifications. For example, avoiding bridges // that are too low or too narrow, or that cannot support the // vehicle's weight myRoute.setVehicleSpec(VehSpec);
Name | Type | Description |
---|---|---|
GrossWeight_kg | Number | Total weight of the vehicle (including fuel, cargo and passengers), measured in kilograms. |
Height_cm | Number | Maximum height of the vehicle, measured in centimeters. |
KingpinToEnd_cm | Number | Distance from the kingpin to the end of the trailer, measured in centimeters. |
KingpinToLastAxle_cm | Number | Distance from the kingpin to the last trailer axle, measured in centimeters. |
KingpinToMiddleOfLastTandem_cm | Number | Distance from the kingpin to the center of the last tandem axle, measured in centimeters. |
Length_cm | Number | Maximum length of the vehicle, measured in centimeters. |
Load | Array | Loads carried by this vehicle. |
LoadCount | Number | Number of Loads carried by this vehicle. |
LoadLength | Number | Maximum number of allowed loads. |
MaxAxleWeight_kg | Number | Maximum (distributed) weight supported by an axle, measured in kilograms. |
MaxTandemAxleWeight_kg | Number | Maximum (distributed) weight supported by a tandem axle, measured in kilograms. |
MaxTrailerLength_cm | Number | Maximum length of the trailer, measured in centimeters. |
MaxTridemAxleWeight_kg | Number | Maximum (distributed) weight supported by a tridem axle, measured in kilograms. |
NumberOfAxles | Number | Total number of axles on this vehicle (including trailers). |
NumberOfAxlesOnTrailers | Number | Sum total of the number of axles on each trailer. |
NumberOfTrailers | Number | Total number of trailers pulled by this vehicle. |
NumberOfWheels | Number | Total number of wheels on this vehicle. |
TractorLength_cm | Number | Maximum length of the tractor, measured in centimeters. |
UnladenWeight_kg | Number | Unladen (without cargo) weight of the vehicle, measured in kilograms. |
VehicleType | Number | Classification of this vehicle:null, as a Routing.VehicleType. |
WeightPerInchWidthOfTire_kg | Number | Maximum weight per inch of width of tire. This is a measure of the maximum pressure exterted by this vehicle onto the road surface. |
Width_cm | Number | Maximum width of the vehicle, measured in centimeters. |