GoCharge

data class GoCharge(val locationName: String) : Disposition(source)

Go to a charger and stay there until the battery is full.

Distinct from MoveTo the same place, because arriving is not the point: the vehicle waits there for as long as charging takes. It remains assignable throughout -- a vehicle charging is a vehicle the dispatcher may still want -- but the charging delay is not interruptible, so work arriving mid-charge is taken up when the battery is full rather than at once.

Constructors

Link copied to clipboard
constructor(locationName: String)

Properties

Link copied to clipboard