新增Tesa star e测试功能。
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#ifndef _TesaStarE_H_
|
||||
#define _TesaStarE_H_
|
||||
|
||||
#include "..\SevenOcean\CMMIO_SERIAL.H"
|
||||
#define TESASTARE_BAUD CBR_1200
|
||||
#define TESASTARE_PARITY 'N'
|
||||
#define TESASTARE_BITS 8
|
||||
#define TESASTARE_STOPBITS 1
|
||||
#define TESASTARE_HandShake CS_HANDSHAKE_FOR_TRESASTR_E
|
||||
class CTesaStarE
|
||||
{
|
||||
public:
|
||||
CTesaStarE(void);
|
||||
~CTesaStarE(void);
|
||||
BOOL Initialization(bool _bInitConfig=true);
|
||||
BOOL Unload();
|
||||
BOOL CheckStatus();
|
||||
void LoadConfig();
|
||||
BOOL ReadTesaStarEAngle();
|
||||
BOOL GetTesaStarEAngle(int& _AngleNumber,double* _Angle);
|
||||
CPSerial* m_pSerial;
|
||||
protected:
|
||||
int SerialComPort;
|
||||
BOOL _bReading;
|
||||
BOOL bEnComm;
|
||||
double m_TesaStarEAngle[2];
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user