Subversion Repositories Projects

Rev

Rev 674 | Rev 715 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 674 Rev 711
Line 36... Line 36...
36
#include "../Classes/cSettings.h"
36
#include "../Classes/cSettings.h"
Line 37... Line 37...
37
 
37
 
38
#include "../../Global/Kopter.h"
38
#include "../../Global/Kopter.h"
39
#include "../../Global/Class_Input/Input.h"
39
#include "../../Global/Class_Input/Input.h"
-
 
40
#include "../../Global/Class_Input/Input_TTY.h"
40
#include "../../Global/Class_Input/Input_TTY.h"
41
#include "../../Global/Class_Input/Input_TCP.h"
41
#include "../../Global/Class_HandlerMK/HandlerMK.h"
42
#include "../../Global/Class_HandlerMK/HandlerMK.h"
42
#include "../../Global/Class_HandlerIP/HandlerIP.h"
43
#include "../../Global/Class_HandlerIP/HandlerIP.h"
Line 43... Line 44...
43
#include "../../Global/Class_SerialPort/ManageSerialPort.h"
44
#include "../../Global/Class_SerialPort/ManageSerialPort.h"
Line 54... Line 55...
54
    private:
55
    private:
55
        QString QMK_Dir;
56
        QString QMK_Dir;
Line 56... Line 57...
56
 
57
 
57
        // Input Device.
58
        // Input Device.
-
 
59
        Input *o_Input;
-
 
60
        Input *o_Output;
58
        Input *o_Input;
61
 
-
 
62
        set_Input s_Input;
-
 
63
        set_Input s_Output;
Line 59... Line 64...
59
        set_Input s_Input;
64
 
60
 
65
 
Line 61... Line 66...
61
        // Settings-Object
66
        // Settings-Object
Line 73... Line 78...
73
        QTcpServer *TCP_Server;
78
        QTcpServer *TCP_Server;
74
        QTcpSocket *o_TCP[DEV_IP_MAX];
79
        QTcpSocket *o_TCP[DEV_IP_MAX];
Line 75... Line 80...
75
 
80
 
76
        //Liste alle IP-Verbindungen und deren Parameter.
81
        //Liste alle IP-Verbindungen und deren Parameter.
77
        int Connect_Count;
82
        int Connect_Count;
-
 
83
        sConnection Con_Server[DEV_IP_MAX];
Line 78... Line 84...
78
        sConnection Connection[DEV_IP_MAX];
84
        sConnection Con_Output;
Line 79... Line 85...
79
 
85
 
Line 80... Line 86...
80
        QListWidgetItem *Item[DEV_IP_MAX][2];
86
        QListWidgetItem *Item[DEV_IP_MAX];
Line 94... Line 100...
94
        void parse_Input_Data(QString t_Data);
100
        void parse_Input_Data(QString t_Data);
Line 95... Line 101...
95
 
101
 
96
        // Einkommende Datenpackete weiterleiten
102
        // Einkommende Datenpackete weiterleiten
Line 97... Line 103...
97
        void route_Input_Data(QString t_Data);
103
        void route_Input_Data(QString t_Data);
-
 
104
 
-
 
105
        void parse_TCP_Server_Data(QString t_Data, int t_ID);
Line 98... Line 106...
98
 
106
        void parse_TCP_Input_Data(QString t_Data);
99
        void parse_TCP_Data(QString t_Data, int t_ID);
107
        void parse_TCP_Output_Data(QString t_Data);
Line 100... Line 108...
100
 
108
 
Line 118... Line 126...
118
        void slot_btn_cMaps();
126
        void slot_btn_cMaps();
119
        void slot_btn_cVoice();
127
        void slot_btn_cVoice();
120
        void slot_btn_cLogger();
128
        void slot_btn_cLogger();
Line 121... Line 129...
121
 
129
 
-
 
130
        void slot_btn_Terminal();
Line 122... Line 131...
122
        void slot_btn_Terminal();
131
        void slot_btn_ConnectServer();
123
 
132
 
-
 
133
        // Einkommende Datenpackete.
-
 
134
        void slot_Input_Data(QString t_Data);
Line 124... Line 135...
124
        // Einkommende Datenpackete.
135
        void slot_Input_Disconnected(int Error);
125
        void slot_Input_Data(QString t_Data);
136
        void slot_Input_Connected();
126
 
137
 
-
 
138
        void slot_TCP_NewConnection();
-
 
139
        void slot_TCP_Disconnect();
-
 
140
        void slot_TCP_Read();
-
 
141
 
-
 
142
        void slot_Output_Data(QString t_Data);
127
        void slot_TCP_NewConnection();
143
        void slot_Output_Disconnected(int Error);
Line 128... Line 144...
128
        void slot_TCP_Disconnect();
144
        void slot_Output_Connected();