Package in2000.pedalio.domain.weather

Types

Link copied to clipboard
data class DeviatingPoint(    val pos: LatLng,     val weatherDataPoint: WeatherDataPoint,     val deviation: DeviationTypes)
Link copied to clipboard
enum DeviationTypes : Enum<DeviationTypes>
Link copied to clipboard
class GetDeviatingWeather(    getWeatherUseCase: GetWeatherUseCase,     deviationLimitTemp: Double,     deviationLimitWind: Double,     deviationLimitPrecipitation: Double,     possibleDeviationPoints: List<LatLng>,     val context: Context)

Class used to get the weather difference between a master location and a list of locations.

Link copied to clipboard
class GetWeatherUseCase(nowcastRepository: NowcastRepository, locationForecastRepository: LocationForecastRepository)

Domain layer to get weather using different underlying repositories. E.g. nowcast for now, auto switch to locationforecast for later.

Link copied to clipboard
data class WeatherDataPoint(    val pos: LatLng?,     val temperature: Double?,     val precipitation: Double?,     val humidity: Double?,     val windSpeed: Double?,     val windDirection: Double?,     val symbolCode: String?)