68 lines
1.8 KiB
Plaintext
68 lines
1.8 KiB
Plaintext
#ifndef SSYSTEMSETTING_H
|
|
#define SSYSTEMSETTING_H
|
|
|
|
#include <QWidget>
|
|
#include <QProgressBar>
|
|
#include "ParaSettingUI.h"
|
|
#include "TimeSettingDialog.h"
|
|
#include <QTimer>
|
|
#include "DialogAuthorization.h"
|
|
#include "dlgmutilanguage.h"
|
|
|
|
#define SYSMIMA
|
|
namespace Ui {
|
|
class SystemSetting;
|
|
}
|
|
|
|
class SystemSetting : public QWidget,public ParaSettingUI
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SystemSetting(QWidget *parent = 0);
|
|
~SystemSetting();
|
|
|
|
void updateSysParaToUI(); //重载
|
|
void applyUIPara(); //重载
|
|
void updateSysStatusToUI(); //重载
|
|
QProgressBar progressBar;
|
|
void updateReclaimTime(int time);
|
|
void updateViscosityAdjust(int offset);
|
|
void updateAuthorization(int auth);
|
|
void setSpinBoxPressureMaxValue(int pressureVal);
|
|
void SystemSettingLog();
|
|
|
|
Q_SIGNALS:
|
|
void changeEditMode(int);
|
|
void setRunStatus(QString);
|
|
private slots:
|
|
void setInterfaceMode();
|
|
void SystemupdateSysParaToUI();
|
|
|
|
void on_spinBoxReclaimPumpPower_valueChanged(int arg1);
|
|
void on_pushButtonCleanUP_pressed();
|
|
void on_pushButtonHighVoltageData_pressed();
|
|
void on_pushButtonApply_pressed();
|
|
void on_pushButtonSearchBestOscillatorVoltage_pressed();
|
|
void on_pushButtonSearchBestOscillatorFreq_pressed();
|
|
void timerHandler();
|
|
void on_spinBoxOscillatorVoltage_valueChanged(int arg1);
|
|
void on_pushButtonInterFace_pressed();
|
|
void ondialogAuthorizationAccepted();
|
|
void onCleanUPNow();
|
|
void timerHandler2();
|
|
|
|
|
|
private:
|
|
Ui::SystemSetting *ui;
|
|
DlgMutiLanguage dlgLanguage;
|
|
QTimer *timer,*timer2, *SetinkcloseCountTimer;
|
|
unsigned char enCleanUpAppendFlag; // 0空闲,1关开回收槽,2手动,3清洗,4恢复,5停止,6
|
|
bool r_PumpValveControledByHand;
|
|
#ifdef SYSMIMA
|
|
DialogAuthorization *dialogUpateMm;
|
|
#endif
|
|
};
|
|
|
|
#endif // SSYSTEMSETTING_H
|