Subversion Repositories Projects

Rev

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

Rev 674 Rev 750
Line 27... Line 27...
27
#include <QTimer>
27
#include <QTimer>
Line 28... Line 28...
28
 
28
 
Line 29... Line 29...
29
#include "ui_dlg_Main.h"
29
#include "ui_dlg_Main.h"
-
 
30
 
Line 30... Line 31...
30
 
31
#include "dlg_MotorMixer.h"
31
#include "dlg_MotorMixer.h"
32
#include "dlg_MotorTest.h"
Line 32... Line 33...
32
 
33
 
Line 33... Line -...
33
#include "../Defines.h"
-
 
34
#include "../TypeDefs.h"
-
 
35
 
-
 
36
#include "../Classes/cSettings.h"
-
 
37
 
-
 
38
#include "../../Global/Kopter.h"
-
 
39
#include "../../Global/MK_Datatypes.h"
-
 
40
#include "../../Global/Class_Input/Input.h"
-
 
41
#include "../../Global/Class_Input/Input_TCP.h"
34
#include "../Defines.h"
42
#include "../../Global/Class_Input/Input_TTY.h"
35
#include "../TypeDefs.h"
43
#include "../../Global/Class_HandlerIP/HandlerIP.h"
36
 
Line 44... Line 37...
44
#include "../../Global/Class_HandlerMK/HandlerMK.h"
37
#include "../Classes/cSettings.h"
Line 52... Line 45...
52
        ~dlg_Main();
45
        ~dlg_Main();
Line 53... Line 46...
53
 
46
 
54
    private:
47
    private:
Line 55... Line -...
55
        QTimer *o_Timer;
-
 
56
 
-
 
57
        // Input Device.
-
 
58
        Input *o_Input;
48
        QTimer *o_Timer;
59
 
49
 
Line 60... Line 50...
60
        // Info über die Hardware
50
        // Info über die Hardware
61
        s_Hardware VersionInfo;
51
        s_Hardware gs_Version;
Line 62... Line 52...
62
 
52
 
63
        // Settings-Object
53
        // Settings-Object
Line -... Line 54...
-
 
54
        cSettings *o_Settings;
-
 
55
 
-
 
56
        // MotorMixer GUI
64
        cSettings *o_Settings;
57
        dlg_MotorMixer *f_MotorMixer;
Line 65... Line 58...
65
 
58
 
66
        // MotorMixer GUI
59
        // MotorTest GUI
67
        dlg_MotorMixer *f_MotorMixer;
60
        dlg_MotorTest *f_MotorTest;
Line 68... Line 61...
68
 
61
 
69
        char c_Data[150];
62
        char c_Data[150];
Line 70... Line -...
70
 
-
 
71
        // Programm-Initialisirungen
-
 
72
        void init_GUI();
-
 
73
        void init_Connections();
-
 
74
 
63
 
75
        void init_Directorys();
64
        // Programm-Initialisirungen
76
        s_Directorys s_Dir;
65
        void init_GUI();
Line 77... Line 66...
77
 
66
        void init_Connections();
Line 88... Line 77...
88
 
77
 
89
    private slots:
78
    private slots:
Line 90... Line 79...
90
        void slot_Timer();
79
        void slot_Timer();
-
 
80
 
Line -... Line 81...
-
 
81
        void slot_ac_About();
-
 
82
        void slot_ac_Toolbar();
-
 
83
 
91
 
84
        void slot_ConnectionStatus(int li_Status);
-
 
85
        void slot_MK_Version(s_Hardware ls_Version);
-
 
86
        void slot_MK_ReadSettings(s_MK_Settings ps_MK_Settings);
-
 
87
        void slot_MK_WriteSettings(int pi_ID);
Line 92... Line 88...
92
        void slot_ac_About();
88
        void slot_MK_ReadMotorMixer(s_MK_Mixer ps_MK_MotorMixer);
93
 
89
        void slot_MK_WriteMotorMixer(int pi_ID);
94
        void slot_ac_Connect();
90
        void slot_MK_PPMData(s_MK_PPM_Data ps_PPMData);
95
 
91
 
Line 96... Line 92...
96
        void slot_ac_Write();
92
        void slot_ac_Write();
-
 
93
        void slot_ac_Read();
Line 97... Line 94...
97
        void slot_ac_Read();
94
        void slot_ac_Save();
Line 98... Line -...
98
        void slot_ac_Save();
-
 
99
        void slot_ac_Load();
-
 
100
 
-
 
101
        void slot_ac_MotorMixer();
-
 
102
 
-
 
103
        void slot_PageChange(int Page);
95
        void slot_ac_Load();
104
 
96
 
105
        // Einkommende Datenpackete.
97
        void slot_ac_MotorMixer();
106
        void slot_Input_Data(QString t_Data);
98
        void slot_ac_MotorTest();
107
        void slot_Input_Disconnected(int Error);
99