Rev 206 | Rev 265 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 206 | Rev 219 | ||
---|---|---|---|
1 | /******************************************************************************** |
1 | /******************************************************************************** |
2 | * Statistics from MK-Connection ( needed for 2. Thread and Readability of Code ) |
2 | * Statistics from MK-Connection ( needed for 2. Thread and Readability of Code ) |
3 | * |
3 | * |
4 | * Author: Marcus -LiGi- Bueschleb |
4 | * Author: Marcus -LiGi- Bueschleb |
5 | * |
5 | * |
6 | * see README for further Infos |
6 | * see README for further Infos |
7 | * |
7 | * |
8 | ********************************************************************************/ |
8 | ********************************************************************************/ |
9 | 9 | ||
10 | package org.ligi.ufo; |
10 | package org.ligi.ufo; |
11 | - | ||
12 | - | ||
13 | 11 | ||
14 | public class MKStatistics |
12 | public class MKStatistics |
15 | 13 | ||
16 | { |
14 | { |
17 | 15 | ||
18 | public int bytes_in=0; |
16 | public int bytes_in=0; |
19 | public int bytes_out=0; |
17 | public int bytes_out=0; |
20 | 18 | ||
- | 19 | ||
- | 20 | public int resend_count=0; |
|
21 | 21 | ||
22 | public int debug_data_count=0; |
22 | public int debug_data_count=0; |
23 | public int debug_names_count=0; |
23 | public int debug_names_count=0; |
24 | public int angle_data_count=0; |
24 | public int angle_data_count=0; |
25 | public int version_data_count=0; |
25 | public int version_data_count=0; |
26 | public int other_data_count=0; |
26 | public int other_data_count=0; |
27 | public int lcd_data_count=0; |
27 | public int lcd_data_count=0; |
28 | public int params_data_count=0; |
28 | public int params_data_count=0; |
29 | public int navi_data_count=0; |
29 | public int navi_data_count=0; |
30 | public int stick_data_count=0; |
30 | public int stick_data_count=0; |
- | 31 | public int external_control_confirm_frame_count=0; |
|
31 | 32 | ||
32 | 33 | ||
33 | public int debug_data_request_count=0; |
34 | public int debug_data_request_count=0; |
34 | public int debug_name_request_count=0; |
35 | public int debug_name_request_count=0; |
35 | public int version_data_request_count=0; |
36 | public int version_data_request_count=0; |
36 | public int lcd_data_request_count=0; |
37 | public int lcd_data_request_count=0; |
37 | public int params_data_request_count=0; |
38 | public int params_data_request_count=0; |
38 | // public int navi_data_count=0; |
39 | // public int navi_data_count=0; |
39 | public int stick_data_request_count=0; |
40 | public int stick_data_request_count=0; |
40 | public int motortest_request_count=0; |
41 | public int motortest_request_count=0; |
- | 42 | public int external_control_request_count=0; |
|
- | 43 | ||
41 | 44 | ||
42 | public void reset() |
45 | public void reset() |
43 | { |
46 | { |
44 | 47 | ||
45 | debug_data_count=0; |
48 | debug_data_count=0; |
46 | debug_names_count=0; |
49 | debug_names_count=0; |
47 | angle_data_count=0; |
50 | angle_data_count=0; |
48 | version_data_count=0; |
51 | version_data_count=0; |
49 | other_data_count=0; |
52 | other_data_count=0; |
50 | lcd_data_count=0; |
53 | lcd_data_count=0; |
51 | params_data_count=0; |
54 | params_data_count=0; |
52 | navi_data_count=0; |
55 | navi_data_count=0; |
53 | bytes_in=0; |
56 | bytes_in=0; |
54 | bytes_out=0; |
57 | bytes_out=0; |
55 | stick_data_count=0; |
58 | stick_data_count=0; |
56 | 59 | ||
57 | 60 | ||
58 | debug_data_request_count=0; |
61 | debug_data_request_count=0; |
59 | debug_name_request_count=0; |
62 | debug_name_request_count=0; |
60 | version_data_request_count=0; |
63 | version_data_request_count=0; |
61 | lcd_data_request_count=0; // |
64 | lcd_data_request_count=0; // |
62 | params_data_request_count=0; // |
65 | params_data_request_count=0; // |
63 | stick_data_request_count=0; |
66 | stick_data_request_count=0; |
64 | motortest_request_count=0; // |
67 | motortest_request_count=0; // |
65 | 68 | ||
66 | 69 | ||
67 | } |
70 | } |
68 | 71 | ||
69 | } |
72 | } |
70 | 73 |