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

LineHitsSource
1 package net.sf.tourviewer.ciclo;
2  
3  
4 /**
5  * The record at offset 645 containing information about the HAC4 settings.
6  * @author Steffen Pingel
7  */
8 public class CM414MInfo1Record extends AbstractRecord {
9  
10     private int deviceSignature;
11     private int wheelPerimeter1;
12     private int wheelPerimeter2;
13     private int homeAltitude;
14     private int weight;
15     private int month;
16     private int day;
17     private int year;
18  
19     public CM414MInfo1Record(int[] data) {
200        super(data);
21         
220        this.deviceSignature = getHex(0);
230        this.wheelPerimeter1 = getHex(1);
240        this.wheelPerimeter2 = getHex(2);
25  
260        this.homeAltitude = getHex(4);
270        this.weight = getHex(5);
280        this.month = getDecH(6);
290        this.day = getDecL(6);
300        this.year = getDec(7);
310    }
32     
33     public String toString()
34     {
350        return getDataString();
36     }
37  
38     
39     public int getDay()
40     {
410        return day;
42     }
43  
44     
45     public int getDeviceSignature()
46     {
470        return deviceSignature;
48     }
49  
50     
51     public int getHomeAltitude()
52     {
530        return homeAltitude;
54     }
55  
56     
57     public int getMonth()
58     {
590        return month;
60     }
61  
62     
63     public int getWeight()
64     {
650        return weight;
66     }
67  
68     
69     public int getWheelPerimeter1()
70     {
710        return wheelPerimeter1;
72     }
73  
74     
75     public int getWheelPerimeter2()
76     {
770        return wheelPerimeter2;
78     }
79  
80     
81     public int getYear()
82     {
830        return year;
84     }
85     
86 }

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.