10 lines
376 B
C++
10 lines
376 B
C++
#ifndef _FILE_MANAGE_H
|
|
#define _FILE_MANAGE_H
|
|
#include "headfile.h"
|
|
class FileManager {
|
|
public:
|
|
static std::vector<uint8_t> readBinaryFile(const std::string& filename); // 读取二进制文件
|
|
bool is_mit_bih_file(const std::vector<uint8_t>& data);
|
|
};
|
|
void save_to_csv(const std::vector<SensorData>& all_data, const std::string& filename);//将数据写入csv
|
|
#endif |