Liquids Type

sealed class LiquidsType

Class that represent different liquids types

Author

Felipe Gonzalez

Inheritors

Types

Link copied to clipboard
class AdBlue(val capacity: Float, warning: WarningLevels, val value: Float) : LiquidsType

Subclass for Adblue representation

Link copied to clipboard
class Fuel(val capacity: Float, warning: WarningLevels, val value: Float, val avgConsumption: Float, val range: Float) : LiquidsType

Sub class for fuel representation

Link copied to clipboard
class Oil(temperature: Float, val pressure: Float, warning: WarningLevels) : LiquidsType

Subclass for Oil representation

Link copied to clipboard
class Water(temperature: Float, warning: WarningLevels) : LiquidsType

Subclass for water representation

Properties

Link copied to clipboard
val avgConsumption: Float? = null
Link copied to clipboard
val capacity: Float? = null
Link copied to clipboard
val pressure: Float? = null
Link copied to clipboard
val range: Float? = null
Link copied to clipboard
val value: Float? = null
Link copied to clipboard