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

LineHitsSource
1 package net.sf.tourviewer.lib.ciclo;
2  
3  
4 /**
5  * The record at offset 645 containing information about the HAC4 settings.
6  * @author Steffen Pingel
7  */
8 public class HAC4Info1Block extends AbstractBlock {
9  
10     private int deviceSignature;
11     private int wheelPerimeter;
12     private int weight;
13     private int homeAltitude;
14     private int pulse1Upper;
15     private int pulse1Lower;
16     private int pulse2Upper;
17     private int pulse2Lower;
18  
19     public HAC4Info1Block(int[] data) {
2016        super(data);
21         
2216        this.deviceSignature = getHex(0);
2316        this.wheelPerimeter = getHex(1);
2416        this.weight = getHex(2);
2516        this.homeAltitude = getHex(3);
2616        this.pulse1Upper = getHex(4);
2716        this.pulse1Lower = getHex(5);
2816        this.pulse2Upper = getHex(6);
2916        this.pulse2Lower = getHex(7);
3016    }
31     
32     public String toString()
33     {
340        return getDataString();
35     }
36  
37     
38     public int getDeviceSignature()
39     {
400        return deviceSignature;
41     }
42  
43     
44     public int getHomeAltitude()
45     {
460        return homeAltitude;
47     }
48  
49     
50     public int getPulse1Lower()
51     {
520        return pulse1Lower;
53     }
54  
55     
56     public int getPulse1Upper()
57     {
580        return pulse1Upper;
59     }
60  
61     
62     public int getPulse2Lower()
63     {
640        return pulse2Lower;
65     }
66  
67     
68     public int getPulse2Upper()
69     {
700        return pulse2Upper;
71     }
72  
73     
74     public int getWeight()
75     {
760        return weight;
77     }
78  
79     
80     public int getWheelPerimeter()
81     {
820        return wheelPerimeter;
83     }
84     
85 }

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.