127 lines
3.2 KiB
C++
127 lines
3.2 KiB
C++
#ifndef SYSTEMMANAGE_H
|
|
#define SYSTEMMANAGE_H
|
|
|
|
#include <QWidget>
|
|
#include "ParaSettingUI.h"
|
|
#include "TimeSettingDialog.h"
|
|
#include <QTimer>
|
|
#include "DialogAuthorization.h"
|
|
#include "qprogressdialog.h"
|
|
#include "PrintSetting.h"
|
|
#include "dlginputaddr.h"
|
|
|
|
namespace Ui {
|
|
class SystemManage;
|
|
}
|
|
|
|
class SystemManage : public QWidget,public ParaSettingUI
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SystemManage(QWidget *parent = 0);
|
|
~SystemManage();
|
|
void updateSysStatusToUI(); //重载
|
|
void bindDlgInputAddr(DlgInputAddr *dlgInputAddr);//绑定时间权限管理对象
|
|
|
|
private slots:
|
|
void on_pushButtonCompressPump_pressed();
|
|
void on_pushButtonGhost_pressed();
|
|
void on_pushButtonCycleValve_pressed();
|
|
|
|
void updateGearPumpValue(int);
|
|
void on_pushButtonGearPump_pressed();
|
|
|
|
void on_pushButtonInkValve_pressed();
|
|
|
|
void on_pushButtonMainInkPump_pressed();
|
|
|
|
void on_pushButtonMixValve_pressed();
|
|
|
|
void on_pushButtonReclaimPump_pressed();
|
|
|
|
void on_pushButtonViscosityPump_pressed();
|
|
|
|
void on_pushButtonControlByHand_pressed();
|
|
|
|
void on_pushButtonReclaimTankOpen_pressed();
|
|
|
|
void on_pushButtonReclaimTankClose_pressed();
|
|
|
|
void on_pushButtonTimeSetting_clicked();
|
|
|
|
void onTimeSettingDone(); //时间设置完成
|
|
|
|
void on_pushButtonUpdateCharLib_pressed();
|
|
|
|
void on_pushButtonFactorySetting_pressed();
|
|
|
|
void on_pushButtonScreenAdjust_pressed();
|
|
|
|
void on_pushButtonUpdateSoftware_pressed();
|
|
|
|
void on_pushButtonCleanUP_pressed();
|
|
|
|
void on_pushButtonReleaseValve_pressed();
|
|
|
|
|
|
void timerHandler();
|
|
void timerHandler2();
|
|
void autoCleanTimerHandler();
|
|
|
|
void on_pushButtonExportConfToUDisk_clicked();
|
|
|
|
void on_pushButtonImportConfFromUdisk_clicked();
|
|
void ondialogAuthorizationAccepted();
|
|
|
|
void on_pushButtonAutoClean_pressed();
|
|
void onAutoCleanStart();
|
|
void reclainTankTestHandler();
|
|
|
|
void changeToManualControl();
|
|
|
|
/***2019/10/22 start*****/
|
|
void inkcloseCountHandler();
|
|
/***2019/10/22 end*****/
|
|
/***2019/10/23 start*****/
|
|
void MainInkCmpSepetalHandler();
|
|
/***2019/10/23 */
|
|
//void on_pushButtonAutoClean_clicked();
|
|
|
|
void on_pushButtonFontToUdisk_pressed();
|
|
|
|
void on_pushButtonMotorTest_pressed();
|
|
|
|
void on_pushButtonPushAir_pressed();
|
|
|
|
void on_dialogTimeSetAuthorizationAccepted();//2020/1/6
|
|
void on_dialogFactorySetAuthorizationAccepted();
|
|
void on_dialogSysUpdateAuthorizationAccepted();
|
|
|
|
void on_pushButtonGearPumpOff_pressed();
|
|
|
|
Q_SIGNALS:
|
|
void configChanged();
|
|
void autoCleanStart();
|
|
void enableReclaimButton(bool flag);
|
|
private:
|
|
Ui::SystemManage *ui;
|
|
|
|
void setPumpValveBottonEnable(bool enable);
|
|
TimeSettingDialog timeDia;
|
|
QTimer *timer,*timer2,*autoCleanTimer,*reclaimTankTestTimer,*inkcloseCountTimer,*MainnkCmpSepetalTimer;
|
|
int reclainTankTestState;
|
|
int reclainTankTestCount;//测试次数
|
|
DialogAuthorization *dialogUpateMm;
|
|
DialogAuthorization *dialogTimeSetAuthorization; //2020/1/6
|
|
DialogAuthorization *dialogSysUpdateAuthorization;
|
|
DlgInputAddr *dlgInputAddr_TimeSet;//2020/1/6
|
|
QProgressDialog *dialogAutoClean;
|
|
QProgressDialog *reclainTankTestProcess;
|
|
int pushAir;// 正在排气
|
|
DialogAuthorization *dialogFactorySetAuthorization;
|
|
QTimer *manualControl;
|
|
};
|
|
|
|
#endif // SYSTEMMANAGE_H
|