33 lines
645 B
C++
33 lines
645 B
C++
#ifndef WITMOTIONDLL_H
|
|
#define WITMOTIONDLL_H
|
|
|
|
#include "witmotiondll_global.h"
|
|
|
|
#include <iostream>
|
|
#include <string.h>
|
|
|
|
#include "serialportbase.h"
|
|
|
|
class WITMOTIONDLLSHARED_EXPORT WitmotionDll
|
|
{
|
|
|
|
public:
|
|
WitmotionDll(SerialPortBase * serialPort);
|
|
|
|
int algorithm(int algorithm);
|
|
int installationDirection(int direction);
|
|
int instructStart();//文档中的通讯协议没有相关的设置?????????????
|
|
|
|
|
|
int magneticCalibration();
|
|
int heightCalibration();
|
|
int zAxisAngleCalibration();
|
|
int setAngleReference();
|
|
|
|
private:
|
|
SerialPortBase * m_SerialPort;
|
|
|
|
};
|
|
|
|
#endif // WITMOTIONDLL_H
|