ChargingCurve

class ChargingCurve(val curve: List<ChargingPoint>)

Constructors

Link copied to clipboard
constructor(rawCurve: String)
constructor(curve: List<ChargingPoint>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun calculateChargingTime(maxCharge: Energy, startCharge: Energy, targetCharge: Energy, chargerPowerKw: Int): Duration
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String