订单流程添加修改
This commit is contained in:
@@ -26,6 +26,18 @@ class DeviceService : public QObject
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
enum ProductionAction
|
||||
{
|
||||
RackPick,
|
||||
FrontLoad,
|
||||
Inspect,
|
||||
FrontUnload,
|
||||
Flip,
|
||||
BackLoad,
|
||||
BackUnload,
|
||||
RackPlace
|
||||
};
|
||||
|
||||
static DeviceService &instance();
|
||||
|
||||
void startPolling();
|
||||
@@ -37,6 +49,9 @@ public:
|
||||
bool pause(QString *error = nullptr);
|
||||
bool reset(QString *error = nullptr);
|
||||
bool clearAlarm(QString *error = nullptr);
|
||||
bool setInspectionMode(const QString &mode, QString *error = nullptr);
|
||||
bool executeProductionAction(ProductionAction action, int trayNo,
|
||||
int slotNo, QString *error = nullptr);
|
||||
|
||||
signals:
|
||||
void statusChanged(const DeviceStatus &status);
|
||||
|
||||
Reference in New Issue
Block a user