* Refactor unit conversion * ref #136: Fix cloud cover, surface level pressure, sealevel pressure and relative humidity are not included in forecast values * Unit conversions * Update pipeline * Remove apk archival step * fix #128: Remove absolute displayed wind speed, text on indicator settings, userwindSpeed datatype * fix #98: Show temperature, precipitation, temperature forecasts as line graphs * Add WindDirectionAndSpeedDataType * Disable line graph forecast when using openweathermap * Fix wind on main menu forecast display
23 lines
555 B
Kotlin
23 lines
555 B
Kotlin
package de.timklge.karooheadwind.weatherprovider
|
|
|
|
import kotlinx.serialization.Serializable
|
|
|
|
@Serializable
|
|
data class WeatherData(
|
|
val time: Long,
|
|
val temperature: Double,
|
|
val relativeHumidity: Int,
|
|
val precipitation: Double,
|
|
val precipitationProbability: Double? = null,
|
|
val cloudCover: Double,
|
|
val sealevelPressure: Double,
|
|
val surfacePressure: Double,
|
|
val windSpeed: Double,
|
|
val windDirection: Double,
|
|
val windGusts: Double,
|
|
val weatherCode: Int,
|
|
val isForecast: Boolean,
|
|
val isNight: Boolean
|
|
)
|
|
|