将框架搭好

This commit is contained in:
tangchao
2022-05-29 23:24:27 +08:00
parent 7de10cd461
commit 32ae01d710
10 changed files with 311 additions and 0 deletions

32
witmotiondll.h Normal file
View File

@ -0,0 +1,32 @@
#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