00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UFposH
00011 #define UFposH
00012
00013 #include <Classes.hpp>
00014 #include <Controls.hpp>
00015 #include <StdCtrls.hpp>
00016 #include <Forms.hpp>
00017
00018 #include "GestionTrama.h"
00019 #include <ExtCtrls.hpp>
00020
00022
00023 int lat_grad;
00024 int lat_min;
00025 int lat_seg;
00026 char lat_dir;
00027 int lon_grad;
00028 int lon_min;
00029 int lon_seg;
00030 char lon_dir;
00031 float hora;
00032 double alt;
00033 };
00035 struct Tgpgll{
00036 int lat_grad;
00037 int lat_min;
00038 int lat_seg;
00039 char lat_dir;
00040 int lon_grad;
00041 int lon_min;
00042 int lon_seg;
00043 char lon_dir;
00044 float hora;
00045 char estado;
00046 };
00047
00048 class TFormPos : public TForm
00049 {
00050 __published:
00051 TLabel *Posicion;
00052 TLabel *Mposicion;
00053 TTimer *Timer1;
00055 void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
00057 void __fastcall Timer1Timer(TObject *Sender);
00059 void __fastcall FormActivate(TObject *Sender);
00060 private:
00062
00064
00066
00068
00069 public:
00071
00073
00075
00076 };
00077
00078 extern PACKAGE TFormPos *FormPos;
00079
00080 #endif