Coverage details for net.sf.tourviewer.lib.ciclo.CM414MInfo3Block

LineHitsSource
1 package net.sf.tourviewer.lib.ciclo;
2  
3  
4  
5 public class CM414MInfo3Block extends AbstractBlock {
6  
7     private int totalDistance1;
8     private int totalDistance2;
9     private long totalTravelTime1;
10     private long totalTravelTime2;
11  
12     public CM414MInfo3Block(int[] data) {
1322        super(data);
14         
1522        this.totalDistance1 = getHex(2);
1622        this.totalDistance2 = getHex(3);
1722        this.totalTravelTime1 = getHexH(4) * 60 + getHexH(4) + getHexH(6) * 3600 + getHexL(6) * 3600 * 100;
1822        this.totalTravelTime2 = getHexH(5) * 60 + getHexH(5) + getHexH(7) * 3600 + getHexL(7) * 3600 * 100;
1922    }
20     
21     public String toString()
22     {
230        return getDataString();
24     }
25  
26     
27     public int getTotalDistance1()
28     {
290        return totalDistance1;
30     }
31  
32     
33     public int getTotalDistance2()
34     {
350        return totalDistance2;
36     }
37  
38     
39     public long getTotalTravelTime1()
40     {
410        return totalTravelTime1;
42     }
43  
44     
45     public long getTotalTravelTime2()
46     {
470        return totalTravelTime2;
48     }
49     
50 }

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.