mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-09-30 16:52:21 +02:00
Add PlantUML model for data structures.
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
@startuml
|
||||
class Track {
|
||||
-id
|
||||
-name
|
||||
-description
|
||||
-category
|
||||
-numberOfPoints
|
||||
-icon
|
||||
}
|
||||
Track o-- TrackPoint
|
||||
Track o-- Waypoint
|
||||
Track "1" - "1" TripStatistics
|
||||
|
||||
class TripStatistics {
|
||||
- startTime
|
||||
- stopTime
|
||||
- totalDistance
|
||||
- totalTime
|
||||
- movingTime
|
||||
- maxSpeed
|
||||
- totalElevationGain
|
||||
}
|
||||
|
||||
class TrackPoint extends android.location.Location {
|
||||
- id
|
||||
- trackId
|
||||
- longitude
|
||||
- latitude
|
||||
- time
|
||||
- altitude
|
||||
- accuracy
|
||||
- speed
|
||||
- bearing
|
||||
- sensor_heartrate
|
||||
- sensor_cadence
|
||||
- sensor_power
|
||||
}
|
||||
|
||||
class Waypoint {
|
||||
- id
|
||||
- trackId
|
||||
- name
|
||||
- description
|
||||
- category
|
||||
- icon
|
||||
- length
|
||||
- duration
|
||||
- location
|
||||
- tripStatistics
|
||||
- photoUrl
|
||||
}
|
||||
@enduml
|
||||
Reference in New Issue
Block a user