Commit
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#include <QWidget>
|
||||
#include <QVector>
|
||||
|
||||
class QComboBox;
|
||||
class QTableWidget;
|
||||
class QGroupBox;
|
||||
class QResizeEvent;
|
||||
@@ -43,7 +42,6 @@ private slots:
|
||||
void stopProduction();
|
||||
void resetProduction();
|
||||
void clearAlarm();
|
||||
void onOrderChanged(int index);
|
||||
void onProductionStateChanged(ProductionService::State state,
|
||||
const QString &name);
|
||||
void onCurrentWorkpieceChanged(int workpieceId, const QString &barcode);
|
||||
@@ -63,8 +61,7 @@ protected:
|
||||
void resizeEvent(QResizeEvent *event) override;
|
||||
|
||||
private:
|
||||
void loadOrderOptions();
|
||||
void updateOrderSummary();
|
||||
void loadCurrentOrder();
|
||||
void updateProductionStats();
|
||||
void updateRackSummary();
|
||||
void updateRackSize();
|
||||
@@ -74,7 +71,6 @@ private:
|
||||
static QString formatDuration(int elapsedMs);
|
||||
|
||||
Ui::DashboardPage *ui;
|
||||
QComboBox *orderCombo;
|
||||
QGroupBox *rackBox;
|
||||
QVector<QLabel *> rackTrayCells;
|
||||
QLabel *deviceStatusLabel;
|
||||
@@ -100,6 +96,8 @@ private:
|
||||
QThread *productionThread;
|
||||
ProductionWorker *productionWorker;
|
||||
ProductionService::State productionState;
|
||||
int currentOrderId;
|
||||
bool currentOrderStartable;
|
||||
Workpiece productionWorkpiece;
|
||||
int productionTrayNo;
|
||||
int productionSlotNo;
|
||||
|
||||
Reference in New Issue
Block a user