|
|
|
@ -201,8 +201,8 @@ class AthleteController extends BaseController
|
|
|
|
|
$listActivity = [];
|
|
|
|
|
foreach ($activityGateway as $entity) {
|
|
|
|
|
$activity = $map->activityEntityToModel($entity);
|
|
|
|
|
$listActivity[] = ['idactivity' => number_format($activity->getIdActivity()), 'type' => $activity->getType(),
|
|
|
|
|
'date' => $activity->getDate()->format("D j F Y"), 'heureDebut' => $activity->getHeureDebut()->format("H\h i"), 'heureFin' => $activity->getHeureFin()->format("H\h i"),
|
|
|
|
|
$listActivity[] = ['idactivite' => number_format($activity->getIdActivity()), 'type' => $activity->getType(),
|
|
|
|
|
'date' => $activity->getDate()->format("D j F Y"), 'heurededebut' => $activity->getHeureDebut()->format("H\h i"), 'heuredefin' => $activity->getHeureFin()->format("H\h i"),
|
|
|
|
|
'effortRessenti' => $activity->getEffortRessenti(), 'variabilite' => $activity->getVariability(), 'variance' => $activity->getVariance(),
|
|
|
|
|
'ecartType' => $activity->getStandardDeviation(), 'moyenne' => $activity->getAverage(),
|
|
|
|
|
'max' => $activity->getMaximum(), 'min' => $activity->getMinimum(), 'temperature' => $activity->getAvrTemperature()];
|
|
|
|
|