View Javadoc

1   package net.sf.tourviewer.lib.ciclo;
2   
3   public class HAC4_325 implements CicloDevice {
4   
5   	// Unknown: private static final int MAGIC = ?;
6   	
7   	public int getInfoBlockIndex()
8   	{
9   		return -1;
10  	}
11  
12  	public String getName()
13  	{
14  		return "HAC4 (325)";
15  	}
16  
17  	/***
18  	 * This device has no info record, therefore the tour records start
19  	 * at a lesser offset.
20  	 */
21  	public int getTourBlockIndex()
22  	{
23  		return DEFAULT_TOUR_BLOCK_INDEX - 1;
24  	}
25  
26  	public boolean hasAltitude()
27  	{
28  		return true;
29  	}
30  	
31  	public boolean hasCadence()
32  	{
33  		return false;
34  	}
35  
36  	public boolean hasPulse()
37  	{
38  		return true;
39  	}
40  
41  	@Override
42  	public String toString()
43  	{
44  		return getName();
45  	}
46  	
47  }