2025-07-28 11:56:50 +08:00
|
|
|
#ifndef _FILE_MANAGE_H
|
|
|
|
|
#define _FILE_MANAGE_H
|
|
|
|
|
#include "headfile.h"
|
|
|
|
|
class FileManager {
|
|
|
|
|
public:
|
|
|
|
|
static std::vector<uint8_t> readBinaryFile(const std::string& filename); // 读取二进制文件
|
2025-07-29 15:21:28 +08:00
|
|
|
|
2025-07-28 11:56:50 +08:00
|
|
|
};
|
2025-07-29 15:21:28 +08:00
|
|
|
void save_to_csv(const std::vector<SensorData>& all_data, const std::string& filename);//将数据写入csv
|
2025-07-28 11:56:50 +08:00
|
|
|
#endif
|