Subversion Repositories Projects

Rev

Rev 674 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 674 Rev 801
Line 42... Line 42...
42
{
42
{
43
    public:
43
    public:
44
        HandlerMK();
44
        HandlerMK();
Line 45... Line 45...
45
 
45
 
46
        static int Data2Int(unsigned char Data[150], int Start, bool is_signed = true);
46
        static int Data2Int(unsigned char Data[150], int Start, bool is_signed = true);
Line 47... Line 47...
47
        static QString Data2QString(unsigned char Data[150], int Start, int End);
47
        static QString Data2QString(unsigned char Data[160], int Start, int End);
48
 
48
 
Line 49... Line 49...
49
        static QString add_CRC(QString TXString);
49
        static QString add_CRC(QString TXString);
50
        static bool Check_CRC(char *t_InData, int Length);
50
        static bool Check_CRC(char *t_InData, int Length);
51
 
51
 
Line 52... Line 52...
52
        static int Decode_64(char *t_InData, int Length, unsigned char *t_OutData);
52
        static int Decode_64(char *t_InData, int Length, unsigned char *t_OutData);
53
        static QString Encode64(char Data[150],unsigned int Length);
53
        static QString Encode64(char Data[160],unsigned int Length);
54
        static QString make_Frame(char t_CMD, int t_Adress, char t_Data[150], unsigned int t_Length);
54
        static QString make_Frame(char t_CMD, int t_Adress, char t_Data[160], unsigned int t_Length);