|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/* |
|
4
|
|
|
* This file is part of the Runalyze Device List. |
|
5
|
|
|
* |
|
6
|
|
|
* (c) RUNALYZE <[email protected]> |
|
7
|
|
|
* |
|
8
|
|
|
* This source file is subject to the MIT license that is bundled |
|
9
|
|
|
* with this source code in the file LICENSE. |
|
10
|
|
|
*/ |
|
11
|
|
|
|
|
12
|
|
|
namespace Runalyze\Devices\Distributor; |
|
13
|
|
|
|
|
14
|
|
|
use Runalyze\Devices\Device\DeviceProfile; |
|
15
|
|
|
|
|
16
|
|
|
class Polar extends AbstractDistributor |
|
17
|
|
|
{ |
|
18
|
1 |
|
public function getEnum() |
|
19
|
|
|
{ |
|
20
|
1 |
|
return DistributorProfile::POLAR; |
|
21
|
|
|
} |
|
22
|
|
|
|
|
23
|
2 |
|
public function getName() |
|
24
|
|
|
{ |
|
25
|
2 |
|
return 'Polar'; |
|
26
|
|
|
} |
|
27
|
|
|
|
|
28
|
|
|
public function getDeviceEnumList() |
|
29
|
|
|
{ |
|
30
|
|
|
return [ |
|
31
|
|
|
DeviceProfile::APP_POLAR_FLOW, |
|
32
|
|
|
DeviceProfile::APP_POLAR_PERSONAL_TRAINER, |
|
33
|
|
|
DeviceProfile::POLAR_UNKNOWN, |
|
34
|
|
|
DeviceProfile::POLAR_IGNITE, |
|
35
|
|
|
DeviceProfile::POLAR_IGNITE_2, |
|
36
|
|
|
DeviceProfile::POLAR_A_300, |
|
37
|
|
|
DeviceProfile::POLAR_A_360, |
|
38
|
|
|
DeviceProfile::POLAR_A_730, |
|
39
|
|
|
DeviceProfile::POLAR_LOOP, |
|
40
|
|
|
DeviceProfile::POLAR_LOOP_2, |
|
41
|
|
|
DeviceProfile::POLAR_M_200, |
|
42
|
|
|
DeviceProfile::POLAR_M_400, |
|
43
|
|
|
DeviceProfile::POLAR_M_430, |
|
44
|
|
|
DeviceProfile::POLAR_M_450, |
|
45
|
|
|
DeviceProfile::POLAR_M_460, |
|
46
|
|
|
DeviceProfile::POLAR_M_600, |
|
47
|
|
|
DeviceProfile::POLAR_R_S_300_X, |
|
48
|
|
|
DeviceProfile::POLAR_R_S_800_C_X, |
|
49
|
|
|
DeviceProfile::POLAR_V_650, |
|
50
|
|
|
DeviceProfile::POLAR_V_800, |
|
51
|
|
|
DeviceProfile::POLAR_VANTAGE_M, |
|
52
|
|
|
DeviceProfile::POLAR_VANTAGE_M_2, |
|
53
|
|
|
DeviceProfile::POLAR_VANTAGE_V, |
|
54
|
|
|
DeviceProfile::POLAR_VANTAGE_V_TITAN, |
|
55
|
|
|
DeviceProfile::POLAR_GRIT_X, |
|
56
|
|
|
]; |
|
57
|
|
|
} |
|
58
|
|
|
} |
|
59
|
|
|
|