Closed BriceCroix closed 1 year ago
There may be some things to rewrite, I am quite unsure of the relevancy of a activity source there, as the repository is quite empty, taking only care of the entity-model conversion. I am open to suggestions ! :)
Made important changes :
The class we knew as Location
is now TimedLocation
. This is the class returned by the location service. This is not related to the activities.
On the other hand, Activities store TrackPoint
s, that represents instants of an activity, these use a Location
field and a Datetime
field, this allows to keep storing Trackpoints with all their data even if the Location service is disabled.
Added datatypes :
Activity
TrackSegment
TrackPoint
with corresponding models.Added repository for the Activities, that get stored to an isar database.
Classes diagram is now as follow :