feat(production): 修改订单清除按钮功能---除了清除报警、也复位状态,让订单能继续执行
This commit is contained in:
@@ -40,6 +40,7 @@ signals:
|
||||
void visionCycleChanged(const QJsonObject &cycle);
|
||||
void visionProductionActiveChanged(bool active, bool maintenanceAllowed);
|
||||
void recoveryDecisionSubmitted(const QJsonObject &decision);
|
||||
void productionDataChanged();
|
||||
void logRequested(const QString &type, const QString &module, const QString &action,
|
||||
const QString &content, const QString &status);
|
||||
|
||||
@@ -49,6 +50,9 @@ private slots:
|
||||
void pauseProduction();
|
||||
void stopProduction();
|
||||
void clearAlarm();
|
||||
void onResetContextReady(const QJsonObject &context);
|
||||
void onAlarmOperationBusyChanged(bool busy);
|
||||
void onAlarmOperationFinished(bool resetRequested, bool success, const QString &message);
|
||||
void onProductionStateChanged(ProductionService::State state,
|
||||
const QString &name);
|
||||
void onCurrentWorkpieceChanged(int workpieceId, const QString &barcode);
|
||||
@@ -115,6 +119,11 @@ private:
|
||||
bool visionRecoveryRequired = false;
|
||||
bool recoveryBusy = false;
|
||||
bool controlConfirmationOpen = false;
|
||||
bool alarmContextPending = false;
|
||||
bool alarmRequestPending = false;
|
||||
bool alarmOperationBusy = false;
|
||||
bool closing = false;
|
||||
QPointer<QDialog> alarmDialog;
|
||||
QPointer<QDialog> recoveryDialog;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user