|
@@ -229,6 +229,7 @@ void firingWidget::handleProjectFiringMqttMessage(const QMqttMessage &message) {
|
|
case FiringStages::QuickTestFinished:
|
|
case FiringStages::QuickTestFinished:
|
|
// 起爆检测测试检查报错雷管数量,如果有错误,提示用户确认是否继续
|
|
// 起爆检测测试检查报错雷管数量,如果有错误,提示用户确认是否继续
|
|
if (relayInfo["errorCount"].toInt() > 0) {
|
|
if (relayInfo["errorCount"].toInt() > 0) {
|
|
|
|
+ m_connectionCheckTimer->stop();
|
|
QMessageBox msgBox;
|
|
QMessageBox msgBox;
|
|
msgBox.setWindowTitle("起爆检测测试错误");
|
|
msgBox.setWindowTitle("起爆检测测试错误");
|
|
msgBox.setText(QString("起爆检测测试发现 %1 个报错雷管,是否继续起爆?")
|
|
msgBox.setText(QString("起爆检测测试发现 %1 个报错雷管,是否继续起爆?")
|
|
@@ -246,6 +247,7 @@ void firingWidget::handleProjectFiringMqttMessage(const QMqttMessage &message) {
|
|
sendCancelFiringMsg();
|
|
sendCancelFiringMsg();
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ m_connectionCheckTimer->start();
|
|
}
|
|
}
|
|
|
|
|
|
ui->pushButton_2->setEnabled(true);
|
|
ui->pushButton_2->setEnabled(true);
|
|
@@ -264,10 +266,10 @@ void firingWidget::handleProjectFiringMqttMessage(const QMqttMessage &message) {
|
|
break;
|
|
break;
|
|
case FiringStages::NetChargingFinished:
|
|
case FiringStages::NetChargingFinished:
|
|
ui->pushButton_2->setEnabled(true);
|
|
ui->pushButton_2->setEnabled(true);
|
|
- emit progressChanged(FiringStages::NetChargingFinished, m_row);
|
|
|
|
- emit updateBlastStatus(FiringStages::NetChargingFinished, m_row);
|
|
|
|
ui->pushButton_2->setText("起爆");
|
|
ui->pushButton_2->setText("起爆");
|
|
navProgress->setState(FiringStages::NetChargingFinished);
|
|
navProgress->setState(FiringStages::NetChargingFinished);
|
|
|
|
+ emit progressChanged(FiringStages::NetChargingFinished, m_row);
|
|
|
|
+ emit updateBlastStatus(FiringStages::NetChargingFinished, m_row);
|
|
break;
|
|
break;
|
|
case FiringStages::Blasting:
|
|
case FiringStages::Blasting:
|
|
ui->pushButton_2->setEnabled(false);
|
|
ui->pushButton_2->setEnabled(false);
|