ElectricVehicleSettingsViewModel

class ElectricVehicleSettingsViewModel(repository: DebugModeRepository, nonDebugEvDataProviderAvailable: NonDebugEvDataProviderAvailable, debugEvDataProviderActive: DebugEvDataProviderActive) : ViewModel

Constructors

Link copied to clipboard
constructor(repository: DebugModeRepository, nonDebugEvDataProviderAvailable: NonDebugEvDataProviderAvailable, debugEvDataProviderActive: DebugEvDataProviderActive)

Properties

Link copied to clipboard
val avgSpeedKmh: PersistedMutableStateFlow<Float>
Link copied to clipboard
val batteryCapacity: PersistedMutableStateFlow<Float>
Link copied to clipboard
val chargeRate: PersistedMutableStateFlow<Float>
Link copied to clipboard
val chargingCurve: PersistedMutableStateFlow<String>
Link copied to clipboard
val consumptionCurve: PersistedMutableStateFlow<String>
Link copied to clipboard
val cpoProvider: PersistedMutableStateFlow<CpoProvider>
Link copied to clipboard
Link copied to clipboard
val destinationMinChargeLevel: PersistedMutableStateFlow<Float>
Link copied to clipboard
val evAscentLevel: PersistedMutableStateFlow<Float>
Link copied to clipboard
val evDataOverride: PersistedMutableStateFlow<Boolean>
Link copied to clipboard
val evDescentLevel: PersistedMutableStateFlow<Float>
Link copied to clipboard
val preConditioningTimeLevel: PersistedMutableStateFlow<Int>
Link copied to clipboard
val stationMinChargeLevel: PersistedMutableStateFlow<Float>
Link copied to clipboard
val unconditionedChargingCurve: PersistedMutableStateFlow<String?>

Functions

Link copied to clipboard