-
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.
Suunto Ocean, Coros Dura, SuuntoD4/D9, fixes
- Loading branch information
Showing
10 changed files
with
134 additions
and
0 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
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 CorosDura extends AbstractDevice | ||
{ | ||
use CorosDeviceTrait; | ||
|
||
public function getEnum(): int | ||
{ | ||
return DeviceProfile::COROS_DURA; | ||
} | ||
|
||
public function getName(): string | ||
{ | ||
return 'Dura'; | ||
} | ||
|
||
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
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,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 SuuntoD4 extends AbstractDevice | ||
{ | ||
use SuuntoDeviceTrait; | ||
|
||
public function getEnum(): int | ||
{ | ||
return DeviceProfile::SUUNTO_D_4; | ||
} | ||
|
||
public function getName(): string | ||
{ | ||
return 'D4'; | ||
} | ||
} |
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,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 SuuntoD9 extends AbstractDevice | ||
{ | ||
use SuuntoDeviceTrait; | ||
|
||
public function getEnum(): int | ||
{ | ||
return DeviceProfile::SUUNTO_D_9; | ||
} | ||
|
||
public function getName(): string | ||
{ | ||
return 'D9'; | ||
} | ||
} |
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 <[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 SuuntoOcean extends AbstractDevice | ||
{ | ||
use SuuntoDeviceTrait; | ||
|
||
public function getEnum(): int | ||
{ | ||
return DeviceProfile::SUUNTO_OCEAN; | ||
} | ||
|
||
public function getName(): string | ||
{ | ||
return 'Ocean'; | ||
} | ||
|
||
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
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