PlotterHMI/main.h
huahaiyan 3ce55cebbd 20240308
1、梳理代码,修改绘制会绘制两次的bug;
2、增加正向旋转功能,线宽设置功能;
3、测试压缩算法,完成;
2024-03-08 16:33:05 +08:00

27 lines
451 B
C

#ifndef MAIN_H
#define MAIN_H
#include <QString>
#include <QPicture>
#include "machine/machine.h"
#define BLOCK_MM 300 //每块对应的毫米数
#define MACHINE_NUM 255 //连接机器最大数量值
//语言
enum Language
{
chinese = 1,
english = 2
};
#ifdef _IN_MAIN_CPP
QList<Machine*> g_machineList;
QTranslator *g_pTranslator;
#else
extern QList<Machine*> g_machineList;
extern QTranslator *g_pTranslator;
#endif
#endif // MAIN_H