Rev 158 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 158 | Rev 159 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | #include <QColor> |
25 | #include <QColor> |
26 | #include <QBitArray> |
26 | #include <QBitArray> |
Line 27... | Line 27... | ||
27 | 27 | ||
Line -... | Line 28... | ||
- | 28 | #include "Parameter_Positions.h" |
|
- | 29 | ||
- | 30 | // Version des Seriellen Protokoll |
|
- | 31 | static const int VERSION_SERIAL_MAJOR = 10; |
|
- | 32 | static const int VERSION_SERIAL_MINOR = 0; |
|
- | 33 | ||
28 | #include "Parameter_Positions.h" |
34 | // Basis-Addressen der verschiedenen Hardware |
- | 35 | static const int ADDRESS_ALL = 0; |
|
- | 36 | static const int ADDRESS_FC = 1; |
|
- | 37 | static const int ADDRESS_NC = 2; |
|
- | 38 | static const int ADDRESS_MK3MAG = 3; |
|
Line 29... | Line 39... | ||
29 | 39 | ||
30 | static const int FC_VERSION = 9; |
40 | static const int DEBUG_INTERVALL = 200; |
31 | 41 | ||
32 | static const QString QA_NAME = "QMK-Groundstation"; |
42 | static const QString QA_NAME = "QMK-Groundstation"; |
33 | static const QString QA_VERSION = "0.5.4j"; |
43 | static const QString QA_VERSION = "0.5.6"; |
34 | static const QString QA_DATE = "23.11.2008"; |
44 | static const QString QA_DATE = "05.12.2008"; |
Line 35... | Line -... | ||
35 | static const QString QA_YEAR = "2008"; |
- | |
36 | static const QString QA_AUTHOR = "Manuel Schrape"; |
45 | static const QString QA_YEAR = "2008"; |
37 | static const QString QA_EMAIL = "manuel.schrape@gmx.de"; |
46 | static const QString QA_AUTHOR = "Manuel Schrape"; |
38 | 47 | static const QString QA_EMAIL = "manuel.schrape@gmx.de"; |
|
39 | 48 | ||
40 | static const QString QA_ABOUT = |
49 | static const QString QA_ABOUT = |
Line 56... | Line 65... | ||
56 | static const bool Def_Plot_Show[] = {1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0}; |
65 | static const bool Def_Plot_Show[] = {1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0}; |
57 | static const bool Def_Log[] = {1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0}; |
66 | static const bool Def_Log[] = {1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0}; |
Line 58... | Line 67... | ||
58 | 67 | ||
Line 59... | Line -... | ||
59 | static const QString HardwareType[] = {"", "FlightCtrl", "NaviCtrl", "MK3Mag"}; |
- | |
60 | 68 | static const QString HardwareType[] = {"", "FlightCtrl", "NaviCtrl", "MK3Mag"}; |
|
Line 61... | Line 69... | ||
61 | 69 | ||
62 | static const int MaxTickerEvents = 5; |
70 | static const int MaxTickerEvents = 5; |
63 | 71 | ||
Line 64... | Line 72... | ||
64 | static const int MaxAnalog = 32; |
72 | static const int MaxAnalog = 32; |
65 | static const int MaxPlot = 50000; |
73 | static const int MaxPlot = 50000; |
66 | static const int PlotWide = 80; |
74 | static const int PlotWide = 100; |
- | 75 | ||
- | 76 | struct sMode |
|
- | 77 | { |
|
- | 78 | int ID; |
|
- | 79 | int VERSION_MAJOR; |
|
67 | 80 | int VERSION_MINOR; |
|
68 | struct sMode |
81 | int VERSION_PATCH; |
69 | { |
- | |
70 | int ID; |
82 | int VERSION_SERIAL_MAJOR; |
Line 71... | Line 83... | ||
71 | QString Hardware; |
83 | int VERSION_SERIAL_MINOR; |
72 | QString Version; |
84 | QString Hardware; |
73 | QString Compatible; |
85 | QString Version; |