ChargingStationStatus

Represents the operational status of an EV charging station.

Defines all possible states a charging station can be in, primarily focusing on the availability of charging spots.

Inheritors

Types

Link copied to clipboard
data class AllPlacesAvailable(val totalCount: Short) : ChargingStationStatus

The station is operational and all charging spots are free.

Link copied to clipboard

The station is currently inactive or out of service. No charging is possible at this time.

Link copied to clipboard

The station is operational, but all charging spots are currently occupied. No free places are available.

Link copied to clipboard
data class PlacesAvailable(val freeCount: Short, val totalCount: Short) : ChargingStationStatus

The station is operational with both free and occupied spots.