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