Rev 239 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 239 | Rev 250 | ||
---|---|---|---|
Line 39... | Line 39... | ||
39 | 39 | ||
40 | #include "ui_mktool.h" |
40 | #include "ui_mktool.h" |
41 | #include "wdg_Settings.h" |
41 | #include "wdg_Settings.h" |
Line 42... | Line 42... | ||
42 | #include "dlg_LCD.h" |
42 | #include "dlg_LCD.h" |
- | 43 | ||
43 | 44 | //#include "../SerialPort/ManageSerialPort.h" |
|
44 | #include "../SerialPort/ManageSerialPort.h" |
45 | #include "../Classes/cConnection.h" |
45 | #include "../Classes/cSettings.h" |
46 | #include "../Classes/cSettings.h" |
46 | #include "../Classes/cServer.h" |
47 | #include "../Classes/cServer.h" |
47 | #include "../Classes/cQMK_Server.h" |
48 | #include "../Classes/cQMK_Server.h" |
48 | #include "../Classes/cAttitude.h" |
49 | #include "../Classes/cAttitude.h" |
- | 50 | #include "../Classes/cSpeedMeter.h" |
|
Line 49... | Line 51... | ||
49 | #include "../Classes/cSpeedMeter.h" |
51 | #include "../Logger/Logger.h" |
Line 50... | Line 52... | ||
50 | #include "../Logger/Logger.h" |
52 | #include "../typedefs.h" |
51 | 53 | ||
Line 64... | Line 66... | ||
64 | int aa; |
66 | int aa; |
Line 65... | Line 67... | ||
65 | 67 | ||
Line 66... | Line 68... | ||
66 | bool AllowSend; |
68 | bool AllowSend; |
67 | 69 | ||
- | 70 | // Object für Serielport |
|
Line 68... | Line 71... | ||
68 | // Object für Serielport |
71 | // ManageSerialPort *serialPort; |
69 | ManageSerialPort *serialPort; |
72 | cConnection *Conn; |
Line 70... | Line 73... | ||
70 | 73 | ||
Line 146... | Line 149... | ||
146 | // Daten-Plotter |
149 | // Daten-Plotter |
147 | void update_Plot(); |
150 | void update_Plot(); |
148 | void config_Plot(); |
151 | void config_Plot(); |
Line 149... | Line 152... | ||
149 | 152 | ||
150 | void new_NaviData(sRxData RX); |
153 | void new_NaviData(sRxData RX); |
151 | // void new_Debugdata(); |
- | |
152 | - | ||
153 | // Daten Senden, Empfangen und verarbeiten |
- | |
154 | void send_Data(char CMD, int Address, char Data[150],unsigned int Length, bool Resend = true); |
- | |
Line 155... | Line 154... | ||
155 | void new_RXData(sRxData RX); |
154 | void parse_TargetKML(); |
156 | 155 | ||
157 | // Debugdaten anzeigen und speichern. |
156 | // Debugdaten anzeigen und speichern. |
Line 164... | Line 163... | ||
164 | private slots: |
163 | private slots: |
165 | void slot_QMKS_Connect(); |
164 | void slot_QMKS_Connect(); |
166 | void slot_QMKS_Connected(); |
165 | void slot_QMKS_Connected(); |
167 | void slot_QMKS_Disconnected(int Error); |
166 | void slot_QMKS_Disconnected(int Error); |
Line -... | Line 167... | ||
- | 167 | ||
- | 168 | void slot_showTerminal(int Typ, QString Text); |
|
168 | 169 | ||
169 | void slot_ac_Hardware(); |
170 | void slot_ac_Hardware(); |
Line 170... | Line 171... | ||
170 | void slot_rb_Hardware(); |
171 | void slot_rb_Hardware(); |
Line 183... | Line 184... | ||
183 | void slot_ac_NoNavi(); |
184 | void slot_ac_NoNavi(); |
184 | void slot_ac_About(); |
185 | void slot_ac_About(); |
185 | void slot_ac_GetLabels(); |
186 | void slot_ac_GetLabels(); |
186 | void slot_ac_Motortest(); |
187 | void slot_ac_Motortest(); |
187 | void slot_ac_LCD(); |
188 | void slot_ac_LCD(); |
- | 189 | ||
188 | void slot_pb_HexFile(); |
190 | void slot_pb_HexFile(); |
- | 191 | void slot_pb_SendWaypoint(); |
|
Line 189... | Line 192... | ||
189 | 192 | ||
190 | // Default-Ticker |
193 | // Default-Ticker |
Line 191... | Line 194... | ||
191 | void slot_Ticker(); |
194 | void slot_Ticker(); |
Line 199... | Line 202... | ||
199 | // Firmeware-Update |
202 | // Firmeware-Update |
200 | void slot_pb_Update(); |
203 | void slot_pb_Update(); |
201 | void slot_UpdateShell(); |
204 | void slot_UpdateShell(); |
Line 202... | Line 205... | ||
202 | 205 | ||
203 | // Seriell-Port Slots |
206 | // Seriell-Port Slots |
204 | void slot_newDataReceived(const QByteArray &dataReceived); |
207 | void slot_newData(sRxData RX); |
Line 205... | Line 208... | ||
205 | void slot_OpenPort(); |
208 | void slot_OpenPort(); |
Line 206... | Line 209... | ||
206 | 209 |