
#pragma once
#include <string>
#include <vector>
#include <sstream>
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 );

