| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- #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"
- #include "handle/danjumuban.h"
- #include "handle/selectspecs.h"
- 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);
- void on_searchButton_clicked();
- public slots:
- void upconfig(const DaBaoConfig & config);
- void upDengjiInfo(const QList<DengJiConfigItem> & dengJis);
- void init();
- void changeSpecs();
- void xuanZe_clicked(int row);
- void del_clicked(int row);
- void Makeup_clicked(int row);
- public:
- void setTableWidget();
- void addTableWidget(QSharedPointer<BoxInfo> box);
- signals:
- void back();
- private:
- Ui::UncertainWeightPackForm *ui;
- ProjectInfo _info;
- QSharedPointer<PackInfo> packinfo;
- QMap<QString,DengJiConfigItem> dengjiMap;// <name,详细信息>
- RemotePackConfig packConfig;
- HttpRequest _request;
- AutoPackUtils aputils;
- DanJuMuBan djmb;
- bool autoRead;
- SelectSpecs specs;
- double netNum = 0.00;
- bool istubeNumTure;
- int tubeNumMax;
- int tubeNumMin;
- };
- #endif // UNCERTAINWEIGHTPACKFORM_H
|