#ifndef FILEPROCESSDLG_H #define FILEPROCESSDLG_H #include #include "config.h" #include "servicedata.h" using namespace Define; namespace Ui { class FileProcessDlg; } class FileProcessDlg : public QDialog { Q_OBJECT const uint8_t m_arrErrorMaxIdx[4] = {3,4,3,11}; const char m_strInfoName[4][64] = {"Top Ignition Box\0", "Steam Ignition Box\0","Bottom Ignition Box\0","Service Total\0"}; const uint16_t m_arrErrorIdxs[3][20] = { //서비스 에러 기록 종합은 합산 {ERROR_IDX_upper_fire_fail,ERROR_IDX_upper_pan_fail,ERROR_IDX_upper_motor_fail}, {ERROR_IDX_steam_fire_fail,ERROR_IDX_steam_pan_fail,ERROR_IDX_water_level_sensor_fail,ERROR_IDX_steam_gen_temp_high_alram}, {ERROR_IDX_lower_fire_fail,ERROR_IDX_lower_pan_fail,ERROR_IDX_lower_motor_fail} }; public: explicit FileProcessDlg(QWidget *parent = 0, ConfigType type = config_invalid, bool isDown = true); ~FileProcessDlg(); private slots: void on_ctrBtnCancel_clicked(); void infodataDownload(); void servicedataDownload(); void programDownload(); void programUpload(); void configDownload(); void configUpload(); private: Ui::FileProcessDlg *ui; ConfigType m_nCfgtype; }; #endif // FILEPROCESSDLG_H