You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
431 B

package net.aiterp.git.ykonsole2.domain.models
import net.aiterp.git.ykonsole2.domain.runtime.*
data class WorkoutState(
val workoutId: String = "",
val time: Time = Time(0),
val calories: Calories? = null,
val level: Level? = null,
val distance: Distance? = null,
val rpmSpeed: RpmSpeed? = null,
val pulse: Pulse? = null,
) {
fun asValueList() = listOfNotNull(time, calories, level, distance, rpmSpeed, pulse)
}