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();
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);
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
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
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);
55
55
56
        static QString get_SelectFC();
56
        static QString get_SelectFC();
57
        static QString get_SelectNC();
57
        static QString get_SelectNC();
58
        static QString get_SelectMK3MAG();
58
        static QString get_SelectMK3MAG();
59
59