Coverage details for net.sf.tourviewer.ciclo.HAC4Info3Record

LineHitsSource
1 package net.sf.tourviewer.ciclo;
2  
3  
4  
5 public class HAC4Info3Record extends AbstractRecord {
6  
7     private int totalAltitudeDown;
8     private int totalAltitudeUp;
9     private int maxAltitiude;
10     private long totalTravelTime;
11     private int lastCCOffset;
12     private int lastDDOffset;
13     private int lastCompareOffset;
14  
15     public HAC4Info3Record(int[] data) {
160        super(data);
17         
180        this.totalAltitudeDown = getHex(0);
190        this.totalAltitudeUp = getHex(1);
200        this.maxAltitiude = getHex(2);
210        this.totalTravelTime = getHexH(3) * 3600 + getHexL(3) * 3600 * 100
220            + getHexH(4) + getHexL(4) * 60;
230        this.lastCCOffset = getHex(5);
240        this.lastDDOffset = getHex(6);
250        this.lastCompareOffset = getHex(7);
260    }
27     
28     public String toString()
29     {
300        return getDataString();
31     }
32  
33     
34     public int getLastCCOffset()
35     {
360        return lastCCOffset;
37     }
38  
39     
40     public int getLastCompareOffset()
41     {
420        return lastCompareOffset;
43     }
44  
45     
46     public int getLastDDOffset()
47     {
480        return lastDDOffset;
49     }
50  
51     
52     public int getMaxAltitiude()
53     {
540        return maxAltitiude;
55     }
56  
57     
58     public int getTotalAltitudeDown()
59     {
600        return totalAltitudeDown;
61     }
62  
63     
64     public int getTotalAltitudeUp()
65     {
660        return totalAltitudeUp;
67     }
68  
69     
70     public long getTotalTravelTime()
71     {
720        return totalTravelTime;
73     }
74     
75 }

this report was generated by version 1.0.5 of jcoverage.
visit www.jcoverage.com for updates.

copyright © 2003, jcoverage ltd. all rights reserved.
Java is a trademark of Sun Microsystems, Inc. in the United States and other countries.