Skip to content

Commit

Permalink
new devices
Browse files Browse the repository at this point in the history
  • Loading branch information
mipapo committed Aug 29, 2024
1 parent 1a8afd2 commit b09ce30
Show file tree
Hide file tree
Showing 18 changed files with 416 additions and 2 deletions.
12 changes: 12 additions & 0 deletions src/Device/DeviceProfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,18 @@ class DeviceProfile extends AbstractEnum
public const SUUNTO_OCEAN = 677;
public const SUUNTO_D_9 = 678;
public const SUUNTO_D_4 = 679;
public const SUUNTO_RACE_S = 680;
public const GARMIN_ENDURO_3 = 681;
public const GARMIN_FENIX_E = 682;
public const GARMIN_FENIX_8_AMOLED_43 = 683;
public const GARMIN_FENIX_8_AMOLED_47 = 684;
public const GARMIN_FENIX_8_AMOLED_51 = 685;
public const GARMIN_FENIX_8_SOLAR_43 = 686;
public const GARMIN_FENIX_8_SOLAR_47 = 687;
public const GARMIN_FENIX_8_SOLAR_51 = 688;
public const GARMIN_APPROACH_S_12 = 689;
public const GARMIN_LILY_2 = 690;
public const GARMIN_EDGE_1050 = 691;

public static function getSlugs(): array
{
Expand Down
27 changes: 27 additions & 0 deletions src/Device/GarminApproachS12.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

/*
* This file is part of the Runalyze Device List.
*
* (c) RUNALYZE <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Runalyze\Devices\Device;

class GarminApproachS12 extends AbstractDevice
{
use GarminDeviceTrait;

public function getEnum(): int
{
return DeviceProfile::GARMIN_APPROACH_S_12;
}

public function getName(): string
{
return 'Approach S12';
}
}
32 changes: 32 additions & 0 deletions src/Device/GarminEdge1050.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

/*
* This file is part of the Runalyze Device List.
*
* (c) RUNALYZE <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Runalyze\Devices\Device;

class GarminEdge1050 extends AbstractDevice
{
use GarminDeviceTrait;

public function getEnum(): int
{
return DeviceProfile::GARMIN_EDGE_1050;
}

public function getName(): string
{
return 'Edge 1050';
}

public function hasBarometer(): bool
{
return true;
}
}
32 changes: 32 additions & 0 deletions src/Device/GarminEnduro3.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

/*
* This file is part of the Runalyze Device List.
*
* (c) RUNALYZE <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Runalyze\Devices\Device;

class GarminEnduro3 extends AbstractDevice
{
use GarminDeviceTrait;

public function getEnum(): int
{
return DeviceProfile::GARMIN_ENDURO_3;
}

public function getName(): string
{
return 'Enduro 3';
}

public function hasBarometer(): bool
{
return true;
}
}
32 changes: 32 additions & 0 deletions src/Device/GarminFenix8Amoled43.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

/*
* This file is part of the Runalyze Device List.
*
* (c) RUNALYZE <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Runalyze\Devices\Device;

class GarminFenix8Amoled43 extends AbstractDevice
{
use GarminDeviceTrait;

public function getEnum(): int
{
return DeviceProfile::GARMIN_FENIX_8_AMOLED_43;
}

public function getName(): string
{
return 'Fenix 8 Amoled (43mm)';
}

public function hasBarometer(): bool
{
return true;
}
}
32 changes: 32 additions & 0 deletions src/Device/GarminFenix8Amoled47.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

/*
* This file is part of the Runalyze Device List.
*
* (c) RUNALYZE <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Runalyze\Devices\Device;

class GarminFenix8Amoled47 extends AbstractDevice
{
use GarminDeviceTrait;

public function getEnum(): int
{
return DeviceProfile::GARMIN_FENIX_8_AMOLED_47;
}

public function getName(): string
{
return 'Fenix 8 Amoled (47mm)';
}

public function hasBarometer(): bool
{
return true;
}
}
32 changes: 32 additions & 0 deletions src/Device/GarminFenix8Amoled51.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

/*
* This file is part of the Runalyze Device List.
*
* (c) RUNALYZE <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Runalyze\Devices\Device;

class GarminFenix8Amoled51 extends AbstractDevice
{
use GarminDeviceTrait;

public function getEnum(): int
{
return DeviceProfile::GARMIN_FENIX_8_AMOLED_51;
}

public function getName(): string
{
return 'Fenix 8 Amoled (51mm)';
}

public function hasBarometer(): bool
{
return true;
}
}
32 changes: 32 additions & 0 deletions src/Device/GarminFenix8Solar43.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

/*
* This file is part of the Runalyze Device List.
*
* (c) RUNALYZE <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Runalyze\Devices\Device;

class GarminFenix8Solar43 extends AbstractDevice
{
use GarminDeviceTrait;

public function getEnum(): int
{
return DeviceProfile::GARMIN_FENIX_8_SOLAR_43;
}

public function getName(): string
{
return 'Fenix 8 Solar/Sapphire (43mm)';
}

public function hasBarometer(): bool
{
return true;
}
}
32 changes: 32 additions & 0 deletions src/Device/GarminFenix8Solar47.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

/*
* This file is part of the Runalyze Device List.
*
* (c) RUNALYZE <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Runalyze\Devices\Device;

class GarminFenix8Solar47 extends AbstractDevice
{
use GarminDeviceTrait;

public function getEnum(): int
{
return DeviceProfile::GARMIN_FENIX_8_SOLAR_47;
}

public function getName(): string
{
return 'Fenix 8 Solar/Sapphire (47mm)';
}

public function hasBarometer(): bool
{
return true;
}
}
32 changes: 32 additions & 0 deletions src/Device/GarminFenix8Solar51.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

/*
* This file is part of the Runalyze Device List.
*
* (c) RUNALYZE <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Runalyze\Devices\Device;

class GarminFenix8Solar51 extends AbstractDevice
{
use GarminDeviceTrait;

public function getEnum(): int
{
return DeviceProfile::GARMIN_FENIX_8_SOLAR_51;
}

public function getName(): string
{
return 'Fenix 8 Solar/Sapphire (51mm)';
}

public function hasBarometer(): bool
{
return true;
}
}
32 changes: 32 additions & 0 deletions src/Device/GarminFenixE.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

/*
* This file is part of the Runalyze Device List.
*
* (c) RUNALYZE <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Runalyze\Devices\Device;

class GarminFenixE extends AbstractDevice
{
use GarminDeviceTrait;

public function getEnum(): int
{
return DeviceProfile::GARMIN_FENIX_E;
}

public function getName(): string
{
return 'Fenix E';
}

public function hasBarometer(): bool
{
return true;
}
}
27 changes: 27 additions & 0 deletions src/Device/GarminLily2.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

/*
* This file is part of the Runalyze Device List.
*
* (c) RUNALYZE <[email protected]>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/

namespace Runalyze\Devices\Device;

class GarminLily2 extends AbstractDevice
{
use GarminDeviceTrait;

public function getEnum(): int
{
return DeviceProfile::GARMIN_LILY_2;
}

public function getName(): string
{
return 'Lily 2';
}
}
Loading

0 comments on commit b09ce30

Please sign in to comment.