From 6ec7b2d80a383a4b9eef84b99ad8bf609b10c18b Mon Sep 17 00:00:00 2001 From: lidg Date: Mon, 9 Nov 2026 18:46:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(order):=20=E5=B7=A5=E5=BA=8F=E8=80=97?= =?UTF-8?q?=E6=97=B6--=E4=B8=8B=E9=9D=A2=E7=9A=84=E7=B4=AF=E8=AE=A1?= =?UTF-8?q?=E8=80=97=E6=97=B6=E5=92=8C=E8=A1=A8=E6=A0=BC=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/productionservice.cpp | 1 + services/productionworker.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/services/productionservice.cpp b/services/productionservice.cpp index 72f1e6c..3bff5de 100644 --- a/services/productionservice.cpp +++ b/services/productionservice.cpp @@ -2317,6 +2317,7 @@ bool ProductionService::updateCurrentProcessStep(const QString &processStep, m_inspectionStatusReady = false; } startProcessTimer(processStep); + emit currentWorkpieceSnapshotChanged(m_currentWorkpiece); emitProcessElapsed(); return true; } diff --git a/services/productionworker.cpp b/services/productionworker.cpp index 46589c6..62fc219 100644 --- a/services/productionworker.cpp +++ b/services/productionworker.cpp @@ -6,6 +6,7 @@ ProductionWorker::ProductionWorker(QObject *parent) , m_stopRequested(false) { qRegisterMetaType("ProductionService::Snapshot"); + qRegisterMetaType("Workpiece"); } void ProductionWorker::ensureService()