| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- #ifndef UNCERTAINWEIGHTPACKFORM_H
- #define UNCERTAINWEIGHTPACKFORM_H
- #include <QWidget>
- #include "handle/remotepackconfig.h"
- #include "packinfo.h"
- //#include "httprequestid.h"
- #include "handle/danjumuban.h"
- #include "handle/database.h"
- #include "handle/autopackutils.h"
- #include "QTimer"
- namespace Ui {
- class UncertainWeightPackForm;
- }
- class UncertainWeightPackForm : public QWidget
- {
- Q_OBJECT
- public:
- explicit UncertainWeightPackForm(QWidget *parent = nullptr);
- ~UncertainWeightPackForm();
- inline void setProInfo(const ProjectInfo & info){_info = info;}
- private slots:
- void on_pushBack_clicked();
- void on_pushStart_clicked();
- void on_addBoxList_clicked();
- void on_addPackList_clicked();
- void calcData();
- void on_handleRead_2_clicked();
- void on_tongshuguding_currentIndexChanged(const QString &arg1);
- void on_tongshuxianzhi_stateChanged(int arg1);
- public slots:
- void upconfig(const DaBaoConfig & config);
- void upDengjiInfo(const QList<DengJiConfigItem> & dengJis);
- void init();
- signals:
- void back();
- private:
- Ui::UncertainWeightPackForm *ui;
- ProjectInfo _info;
- QSharedPointer<PackInfo> packinfo;
- QMap<QString,DengJiConfigItem> dengjiMap;// <name,详细信息>
- RemotePackConfig packConfig;
- HttpRequest _request;
- DanJuMuBan djmb;
- AutoPackUtils aputils;
- bool autoRead;
- double netNum = 0.00;
- bool istubeNumTure;
- int tubeNumMax;
- int tubeNumMin;
- };
- #endif // UNCERTAINWEIGHTPACKFORM_H
|