Attempt to remove incorrect submodule myis11/src/third (path not found by rm)
This commit is contained in:
43
myis11/src/comman/comon.h
Normal file
43
myis11/src/comman/comon.h
Normal file
@ -0,0 +1,43 @@
|
||||
|
||||
#pragma once
|
||||
#include <string>
|
||||
|
||||
typedef unsigned char u_char;
|
||||
/**
|
||||
* @brief 串口写函数类型
|
||||
*
|
||||
*/
|
||||
typedef size_t (*SERIALWRITE)(u_char* data,size_t lenth);
|
||||
/**
|
||||
* @brief 串口读函数原型
|
||||
*
|
||||
*/
|
||||
typedef size_t (*SERIALREAD)(u_char* data,size_t lenth);
|
||||
struct STRSensorInfo
|
||||
{
|
||||
std::string SensorName;
|
||||
long maxValue;
|
||||
long BandNum;
|
||||
std::string WavelenthStr;
|
||||
float *wavelenthlist;
|
||||
//double *wavelenth;
|
||||
bool isSensorInit;
|
||||
std::string serialnumber;
|
||||
float a1,a2,a3,a4;
|
||||
|
||||
};
|
||||
struct STRsensorinfo_C
|
||||
{
|
||||
char SensorName[100];
|
||||
long maxValue;
|
||||
long BandNum;
|
||||
char serialnumber[100];
|
||||
float a1,a2,a3,a4;
|
||||
u_char issensorinit;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
typedef void (*PRINTFUNC)(std::string );
|
||||
|
Reference in New Issue
Block a user