You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#ifndef MAINPAGE_POWER_H
|
|
|
|
|
#define MAINPAGE_POWER_H
|
|
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
#include <QLabel>
|
|
|
|
|
#include <uart1.h>
|
|
|
|
|
#include <math.h>
|
|
|
|
|
class mainpage_Power : public QWidget
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
explicit mainpage_Power(QWidget *parent = nullptr);
|
|
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
QLabel *label_3_10;
|
|
|
|
|
QLabel *label_3_11;
|
|
|
|
|
QFrame *line3_2;
|
|
|
|
|
|
|
|
|
|
QLabel *label_4_1;//页面4有功功率及无功功率label1
|
|
|
|
|
QLabel *label_4_2;
|
|
|
|
|
QLabel *label_4_3;
|
|
|
|
|
QLabel *label_4_4;
|
|
|
|
|
QLabel *label_4_5;
|
|
|
|
|
QLabel *label_4_6;
|
|
|
|
|
QLabel *label_4_7;
|
|
|
|
|
QLabel *label_4_8;
|
|
|
|
|
QLabel *label_4_9;
|
|
|
|
|
QLabel *label_4_10;
|
|
|
|
|
QLabel *label_4_11;//功率因素
|
|
|
|
|
QLabel *label_4_12;
|
|
|
|
|
QLabel *label_4_13;
|
|
|
|
|
QLabel *label_4_14;
|
|
|
|
|
QLabel *label_4_15;
|
|
|
|
|
|
|
|
|
|
QLabel *label_4_16;
|
|
|
|
|
QLabel *label_4_17;
|
|
|
|
|
QLabel *label_4_18;
|
|
|
|
|
QLabel *label_4_19;
|
|
|
|
|
|
|
|
|
|
QFrame *line4_1;//页面4分割线
|
|
|
|
|
QFrame *line4_3;//页面4分割线
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
void onPageTwoDataUpdate(float,float,float);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // MAINPAGE_POWER_H
|