添加OpenCv
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
#define P02_SHIELDPAGE_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
#include <QCheckBox>
|
||||
#include <DataCenter/DataCenter.h>
|
||||
namespace Ui {
|
||||
class P02_ShieldPage;
|
||||
}
|
||||
@@ -14,9 +15,85 @@ class P02_ShieldPage : public QWidget
|
||||
public:
|
||||
explicit P02_ShieldPage(QWidget *parent = nullptr);
|
||||
~P02_ShieldPage();
|
||||
|
||||
void WinInit();
|
||||
void WriteShield(uint8_t var,uint8_t Index,bool Checked);
|
||||
private slots:
|
||||
void on_But_Shield_0_clicked(bool checked);
|
||||
void on_But_Shield_1_clicked(bool checked);
|
||||
void on_But_Shield_2_clicked(bool checked);
|
||||
void on_But_Shield_3_clicked(bool checked);
|
||||
void on_But_Shield_4_clicked(bool checked);
|
||||
void on_But_Shield_5_clicked(bool checked);
|
||||
void on_But_Shield_6_clicked(bool checked);
|
||||
void on_But_Shield_7_clicked(bool checked);
|
||||
void on_But_Shield_8_clicked(bool checked);
|
||||
void on_But_Shield_9_clicked(bool checked);
|
||||
void on_But_Shield_10_clicked(bool checked);
|
||||
void on_But_Shield_11_clicked(bool checked);
|
||||
void on_But_Shield_12_clicked(bool checked);
|
||||
void on_But_Shield_13_clicked(bool checked);
|
||||
void on_But_Shield_14_clicked(bool checked);
|
||||
void on_But_Shield_15_clicked(bool checked);
|
||||
void on_But_Shield_16_clicked(bool checked);
|
||||
void on_But_Shield_17_clicked(bool checked);
|
||||
void on_But_Shield_18_clicked(bool checked);
|
||||
void on_But_Shield_19_clicked(bool checked);
|
||||
void on_But_Shield_20_clicked(bool checked);
|
||||
void on_But_Shield_21_clicked(bool checked);
|
||||
void on_But_Shield_22_clicked(bool checked);
|
||||
void on_But_Shield_23_clicked(bool checked);
|
||||
void on_But_Shield_24_clicked(bool checked);
|
||||
void on_But_Shield_25_clicked(bool checked);
|
||||
void on_But_Shield_26_clicked(bool checked);
|
||||
void on_But_Shield_27_clicked(bool checked);
|
||||
void on_But_Shield_28_clicked(bool checked);
|
||||
void on_But_Shield_29_clicked(bool checked);
|
||||
void on_But_Shield_30_clicked(bool checked);
|
||||
void on_But_Shield_31_clicked(bool checked);
|
||||
void on_But_Shield_32_clicked(bool checked);
|
||||
void on_But_Shield_33_clicked(bool checked);
|
||||
void on_But_Shield_34_clicked(bool checked);
|
||||
void on_But_Shield_35_clicked(bool checked);
|
||||
void on_But_Shield_36_clicked(bool checked);
|
||||
void on_But_Shield_37_clicked(bool checked);
|
||||
void on_But_Shield_38_clicked(bool checked);
|
||||
void on_But_Shield_39_clicked(bool checked);
|
||||
void on_But_Shield_40_clicked(bool checked);
|
||||
void on_But_Shield_41_clicked(bool checked);
|
||||
void on_But_Shield_42_clicked(bool checked);
|
||||
void on_But_Shield_43_clicked(bool checked);
|
||||
void on_But_Shield_44_clicked(bool checked);
|
||||
void on_But_Shield_45_clicked(bool checked);
|
||||
void on_But_Shield_46_clicked(bool checked);
|
||||
void on_But_Shield_47_clicked(bool checked);
|
||||
void on_But_Shield_48_clicked(bool checked);
|
||||
void on_But_Shield_49_clicked(bool checked);
|
||||
void on_But_Shield_50_clicked(bool checked);
|
||||
void on_But_Shield_51_clicked(bool checked);
|
||||
void on_But_Shield_52_clicked(bool checked);
|
||||
void on_But_Shield_53_clicked(bool checked);
|
||||
void on_But_Shield_54_clicked(bool checked);
|
||||
void on_But_Shield_55_clicked(bool checked);
|
||||
void on_But_Shield_56_clicked(bool checked);
|
||||
void on_But_Shield_57_clicked(bool checked);
|
||||
void on_But_Shield_58_clicked(bool checked);
|
||||
void on_But_Shield_59_clicked(bool checked);
|
||||
void on_But_Shield_60_clicked(bool checked);
|
||||
void on_But_Shield_61_clicked(bool checked);
|
||||
void on_But_Shield_62_clicked(bool checked);
|
||||
void on_But_Shield_63_clicked(bool checked);
|
||||
|
||||
void UIRefreshTimeOut();
|
||||
private:
|
||||
Ui::P02_ShieldPage *ui;
|
||||
OpcUaManager* m_OpcUaManager; // 全局唯一OPC实例
|
||||
DataCenter* m_DataCenter; // 全局唯一DataCenter实例
|
||||
|
||||
uint32_t Status1,Status2,Shield1,Shield2;
|
||||
QStringList unShieldText;
|
||||
QStringList ShieldText;
|
||||
QStringList TrueColor;
|
||||
QStringList FalseColor;
|
||||
};
|
||||
|
||||
#endif // P02_SHIELDPAGE_H
|
||||
|
||||
Reference in New Issue
Block a user