Subversion Repositories Projects

Rev

Rev 206 | Rev 266 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

/********************************************************************************
 * Statistics from MK-Connection ( needed for 2. Thread and Readability of Code )
 *                                                                              
 * Author:        Marcus -LiGi- Bueschleb                                        
 *
 * see README for further Infos
 *
********************************************************************************/


package org.ligi.ufo;

public class MKStatistics

{

    public int bytes_in=0;
    public int bytes_out=0;


    public int resend_count=0;

    public int debug_data_count=0;
    public int debug_names_count=0;
    public int angle_data_count=0;
    public int version_data_count=0;
    public int other_data_count=0;
    public int lcd_data_count=0;
    public int params_data_count=0;
    public int navi_data_count=0;
    public int stick_data_count=0;
    public int external_control_confirm_frame_count=0;


    public int debug_data_request_count=0;
    public int debug_name_request_count=0;
    public int version_data_request_count=0;
    public int lcd_data_request_count=0;
    public int params_data_request_count=0;
    //    public int navi_data_count=0;
    public int stick_data_request_count=0;
    public int motortest_request_count=0;
    public int external_control_request_count=0;


    public void reset()
    {

        debug_data_count=0;
        debug_names_count=0;
        angle_data_count=0;
        version_data_count=0;
        other_data_count=0;
        lcd_data_count=0;
        params_data_count=0;
        navi_data_count=0;
        bytes_in=0;
        bytes_out=0;
        stick_data_count=0;


        debug_data_request_count=0;
        debug_name_request_count=0;
        version_data_request_count=0;
        lcd_data_request_count=0; //
        params_data_request_count=0; //
        stick_data_request_count=0;
        motortest_request_count=0; //


    }
   
}