-
Notifications
You must be signed in to change notification settings - Fork 1
/
ThreadLecturaGPS.h
29 lines (28 loc) · 1020 Bytes
/
ThreadLecturaGPS.h
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
//---------------------------------------------------------------------------
#ifndef ThreadCocheLocalGGAH
#define ThreadCocheLocalGGAH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include "ControlPSerie.h"
#include "LatLong-UTMconversion.h"
//---------------------------------------------------------------------------
class ThreadLecturaGPS : public TThread
{
private:
protected:
void __fastcall Execute();
bool Fin;
ControlPSerie *CPS;
double UTM_North, UTM_East, UTM_Height;
AnsiString time;
public:
__fastcall ThreadLecturaGPS(bool CreateSuspended, int NPuerto, int VPuerto);
void __fastcall Finalizar();
bool __fastcall LongitudCorrecta(int LongObligatoria, AnsiString Trama);
double GetUTM_North();
double GetUTM_East();
AnsiString GetUTM_Time();
double GetUTM_Height();
};
//---------------------------------------------------------------------------
#endif