PowerRange

data class PowerRange @JvmOverloads constructor(var minimalPower: Float = -1.0F, var maximalPower: Float = -1.0F) : Parcelable

Constructors

Link copied to clipboard
constructor(minimalPower: Float = -1.0F, maximalPower: Float = -1.0F)

Properties

Link copied to clipboard

in kilowatts, -1 = undefined, maximalPower must be >= minimalPower if both are defined

Link copied to clipboard

in kilowatts, -1 = undefined, minimalPower must be <= maximalPower if both are defined

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)