PMCmdItineraryWaypoint

data class PMCmdItineraryWaypoint(val type: PMCmdItineraryWaypointType, val position: PMGeoPosition, val navigable: PMGeoPosition? = null, val id: String, val caption: String? = null, val delay: Int = 0, val delayUnit: PMCmdTimeUnit, val loadChange: Double = 0.0, val loadChangeUnit: PMCmdWeightUnit, val hitCriteria: PMCmdItineraryHitCriteria? = null, val timeWindow: PMCmdItineraryTimeWindow? = null, val report: PMCmdWaypointReport? = null)

One waypoint in itinerary part

Constructors

Link copied to clipboard
fun PMCmdItineraryWaypoint(type: PMCmdItineraryWaypointType, position: PMGeoPosition, navigable: PMGeoPosition? = null, id: String, caption: String? = null, delay: Int = 0, delayUnit: PMCmdTimeUnit, loadChange: Double = 0.0, loadChangeUnit: PMCmdWeightUnit, hitCriteria: PMCmdItineraryHitCriteria? = null, timeWindow: PMCmdItineraryTimeWindow? = null, report: PMCmdWaypointReport? = null)

Properties

Link copied to clipboard
val caption: String? = null

(optional) caption/name of this waypoint

Link copied to clipboard
val delay: Int = 0

(optional) expected delay on this waypoint

Link copied to clipboard

(optional) used time unit for delay
Default value is PMCmdTimeUnit.Second

Link copied to clipboard

(optional) Criteria to mark waypoint as passed, if it's not set, then radius 50m at speed 50kmh is used

Link copied to clipboard
val id: String

fleet system ID used for this waypoint, prefix "SygicCurrentRoute:" is reserved.

Link copied to clipboard
val loadChange: Double = 0.0

(optional) weight changing for load (+) or unload (-)

Link copied to clipboard

(optional) used weight unit
Default value is PMCmdWeightUnit.Kg

Link copied to clipboard

(optional) navigable position on map, if it's empty, it will be the same as position

Link copied to clipboard

waypoint position on map, it must be defined.

Link copied to clipboard

(optional)

Link copied to clipboard

(optional) Expected time window

Link copied to clipboard

waypoint type
Default value is PMCmdItineraryWaypointType.PassThru