Attempt to remove incorrect submodule myis11/src/third (path not found by rm)

This commit is contained in:
xin
2025-02-19 16:39:23 +08:00
parent e8d98f155d
commit 4c6b3fc4d7
9 changed files with 807 additions and 0 deletions

43
myis11/src/comman/comon.h Normal file
View 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 );