PlotterHMI/main.h

27 lines
451 B
C
Raw Normal View History

2024-02-06 06:19:53 +00:00
#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
2024-02-06 06:19:53 +00:00
};
#ifdef _IN_MAIN_CPP
QList<Machine*> g_machineList;
QTranslator *g_pTranslator;
2024-02-06 06:19:53 +00:00
#else
extern QList<Machine*> g_machineList;
extern QTranslator *g_pTranslator;
2024-02-06 06:19:53 +00:00
#endif
#endif // MAIN_H