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 stays assignable on the way, and can be turned round. On the charger it isn't available: work goes to another vehicle, or waits until the battery is full and the vehicle declares itself available again.

Constructors

Link copied to clipboard
constructor(locationName: String)

Properties

Link copied to clipboard