Files
HPPA/HPPA/fileOperation.h
tangchao0503 a629115e91 add
1、添加corning 410控制;
2、通过 IrisMultiMotorController 添加一轴马达控制,通过配置文件控制马达个数和马达初始化参数;

fix
1、修复点击显示光谱bug;
2、修复机械臂bug;
2025-05-15 16:40:42 +08:00

42 lines
809 B
C++

#ifndef FILE_OPERATIOIN_H
#define FILE_OPERATIOIN_H
#include <iostream>
#include <fstream>
#include<iostream>
#include <QObject>
using namespace std;
class FileOperation :public QObject
{
Q_OBJECT
public:
FileOperation();
~FileOperation();
string getDirectoryOfExe();//getDirectoryOfExe
string getDirectoryFromString(string directory="C:\\HPPA_image");
public Q_SLOTS:
bool copyFile(QString source, QString target);
/*bool moveFile(const string& source, const string& target);
bool deleteFile(const string& path);
bool hasFile(const string& path);
bool copyDirectory(const string& source, const string& target);
bool moveDirectory(const string& source, const string& target);
bool deleteDirectory(const string& path);*/
signals:
void CopyFinishedSignal();//»æÖÆÓ°ÏñÐźÅ
};
#endif