Files
EJM_Display/Pages/P301_PumpPage.h

35 lines
715 B
C
Raw Normal View History

2025-08-20 23:06:28 +08:00
#ifndef P301_PUMPPAGE_H
#define P301_PUMPPAGE_H
#include <QWidget>
2025-09-15 22:28:43 +08:00
#include <QProgressBar>
#include <PublicFunctions/CurvePlotWidget.h>
2025-08-20 23:06:28 +08:00
namespace Ui {
class P301_PumpPage;
}
class P301_PumpPage : public QWidget
{
Q_OBJECT
public:
explicit P301_PumpPage(QWidget *parent = nullptr);
~P301_PumpPage();
2025-09-15 22:28:43 +08:00
void WinInit();
void SetProgressBar(QProgressBar *PB,uint16_t Value,uint8_t ColorIndex,QStringList Color);
private slots:
void UIRefreshTimeOut();
void TrailRefreshTimeOut();
2025-08-20 23:06:28 +08:00
private:
Ui::P301_PumpPage *ui;
2025-09-15 22:28:43 +08:00
QStringList slOilTemp;
QStringList slOilLevel;
QStringList PercentageText;
QStringList TrueColor;
QStringList FalseColor;
2025-08-20 23:06:28 +08:00
};
#endif // P301_PUMPPAGE_H