1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
|
//---------------------------------------------------------------------------
#ifndef mondlgH
#define mondlgH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <Grids.hpp>
#include <Buttons.hpp>
//---------------------------------------------------------------------------
class TMonitorDialog : public TForm
{
__published:
TStringGrid *Tbl;
TPanel *Panel1;
TPanel *Panel2;
TButton *BtnClose;
TTimer *Timer1;
TLabel *Label;
TComboBox *Type;
TPaintBox *Console;
TTimer *Timer2;
TScrollBar *Scroll;
TSpeedButton *BtnPause;
TSpeedButton *BtnDown;
TSpeedButton *BtnClear;
TComboBox *SelEph;
TComboBox *SelStr;
TComboBox *SelSat;
TComboBox *SelIon;
TComboBox *SelObs;
TComboBox *SelFmt;
void __fastcall FormShow(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall ConsolePaint(TObject *Sender);
void __fastcall BtnCloseClick(TObject *Sender);
void __fastcall BtnDownClick(TObject *Sender);
void __fastcall BtnClearClick(TObject *Sender);
void __fastcall TypeChange(TObject *Sender);
void __fastcall Timer1Timer(TObject *Sender);
void __fastcall Timer2Timer(TObject *Sender);
void __fastcall ScrollChange(TObject *Sender);
void __fastcall SelObsChange(TObject *Sender);
void __fastcall SelFmtChange(TObject *Sender);
private:
int TypeF,ConFmt,ScrollPos,FontScale,ObsMode;
TStringList *ConBuff;
rtcm_t rtcm;
raw_t raw;
void __fastcall ClearTable(void);
void __fastcall SetRtk(void);
void __fastcall SetSat(void);
void __fastcall SetEst(void);
void __fastcall SetCov(void);
void __fastcall SetObs(void);
void __fastcall SetNav(void);
void __fastcall SetGnav(void);
void __fastcall SetStr(void);
void __fastcall SetSbsMsg(void);
void __fastcall SetSbsLong(void);
void __fastcall SetSbsIono(void);
void __fastcall SetSbsFast(void);
void __fastcall SetSbsNav(void);
void __fastcall SetIonUtc(void);
void __fastcall SetRtcm(void);
void __fastcall SetRtcmDgps(void);
void __fastcall SetRtcmSsr(void);
void __fastcall SetLexMsg(void);
void __fastcall SetLexEph(void);
void __fastcall SetLexIon(void);
void __fastcall SetIonCorr(void);
void __fastcall ShowRtk(void);
void __fastcall ShowSat(int sys);
void __fastcall ShowEst(void);
void __fastcall ShowCov(void);
void __fastcall ShowObs(void);
void __fastcall ShowNav(int sys);
void __fastcall ShowGnav(void);
void __fastcall ShowSbsMsg(void);
void __fastcall ShowIonUtc(void);
void __fastcall ShowStr(void);
void __fastcall ShowSbsLong(void);
void __fastcall ShowSbsIono(void);
void __fastcall ShowSbsFast(void);
void __fastcall ShowSbsNav(void);
void __fastcall ShowRtcm(void);
void __fastcall ShowRtcmDgps(void);
void __fastcall ShowRtcmSsr(void);
void __fastcall ShowLexMsg(void);
void __fastcall ShowLexEph(void);
void __fastcall ShowLexIon(void);
void __fastcall ShowIonCorr(void);
void __fastcall AddConsole(unsigned char *msg, int len, int mode);
void __fastcall ViewConsole(void);
public:
__fastcall TMonitorDialog(TComponent* Owner);
};
//---------------------------------------------------------------------------
#endif
|