1 package net.sf.tourviewer.lib.ciclo;
2
3
4
5 public class CM414MInfo2Block extends AbstractBlock {
6
7 private int nextFreeOffset;
8 private int lastDDOffset;
9 private int totalAltitude;
10
11 public CM414MInfo2Block(int[] data) {
12 super(data);
13
14 this.nextFreeOffset = getHex(2);
15 this.lastDDOffset = getHex(3);
16 this.totalAltitude = getHex(4);
17 }
18
19 public String toString()
20 {
21 return getDataString();
22 }
23
24
25 public int getLastDDOffset()
26 {
27 return lastDDOffset;
28 }
29
30
31 public int getNextFreeOffset()
32 {
33 return nextFreeOffset;
34 }
35
36
37 public int getTotalAltitude()
38 {
39 return totalAltitude;
40 }
41
42 }