PMCmdItineraryPart

data class PMCmdItineraryPart(val vehicle: List<PMCmdItineraryVehicleAttr>? = null, val options: List<PMRouteOption>? = null, val waypoints: List<PMCmdItineraryWaypoint>? = null, val report: PMCmdItineraryReport? = null)

One part of itinerary which could have own route options for computing.

Constructors

Link copied to clipboard
fun PMCmdItineraryPart(vehicle: List<PMCmdItineraryVehicleAttr>? = null, options: List<PMRouteOption>? = null, waypoints: List<PMCmdItineraryWaypoint>? = null, report: PMCmdItineraryReport? = null)

Properties

Link copied to clipboard
val options: List<PMRouteOption>? = null

(optional) Defines which route options should be applied to route, if it's empty the driver preference will be applyed

Link copied to clipboard

(optional) current itinerary part report status, it will computed for sending report, and it will be empty during planning.

Link copied to clipboard

(optional) Vehicle profile to be used for this part of itinerary, if it's null/empty, the profile attributes defined by driver is used.

Link copied to clipboard

ordered list of waypoints, at least one waypoint is required, the last means "final destination"