-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michael Pohl
committed
Nov 1, 2023
1 parent
d1628c2
commit c46d58e
Showing
5 changed files
with
71 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <mail@runalyze.com> | ||
* | ||
* 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 GarminEdge1040 extends AbstractDevice | ||
{ | ||
use GarminDeviceTrait; | ||
|
||
public function getEnum(): int | ||
{ | ||
return DeviceProfile::GARMIN_EDGE_1040; | ||
} | ||
|
||
public function getName(): string | ||
{ | ||
return 'Edge 1040'; | ||
} | ||
|
||
public function hasBarometer(): bool | ||
{ | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <mail@runalyze.com> | ||
* | ||
* 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 GarminFenix7ProSolar extends AbstractDevice | ||
{ | ||
use GarminDeviceTrait; | ||
|
||
public function getEnum(): int | ||
{ | ||
return DeviceProfile::GARMIN_FENIX_7_PRO_SOLAR; | ||
} | ||
|
||
public function getName(): string | ||
{ | ||
return 'Fenix 7 Pro Solar'; | ||
} | ||
|
||
public function hasBarometer(): bool | ||
{ | ||
return true; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters