blob: 9ddd5e8c1ce17c8d73b8e4fb50033adb8c19856b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package org.terst.nav
import android.location.Location
data class TidalCurrent(
val latitude: Double,
val longitude: Double,
val speedKnots: Double,
val directionDegrees: Double, // Direction the current is flowing TOWARDS
val timestampMillis: Long
)
data class TidalCurrentState(
val currents: List<TidalCurrent> = emptyList(),
val isVisible: Boolean = false,
val selectedTimeMillis: Long = System.currentTimeMillis()
)
|