From cbbfd4b1df62af0674064c8a10fade7a52a540a9 Mon Sep 17 00:00:00 2001 From: nguyentrungthat <80239428+nguentrungthat@users.noreply.github.com> Date: Thu, 4 Dec 2025 13:35:16 +0700 Subject: [PATCH] Update logging DPELP --- BACKEND/app/services/line_connection.ts | 4 +++ FRONTEND/src/components/CardLine.tsx | 33 ++++++++++++++++++++++++- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/BACKEND/app/services/line_connection.ts b/BACKEND/app/services/line_connection.ts index a03d3f9..26bd2cf 100644 --- a/BACKEND/app/services/line_connection.ts +++ b/BACKEND/app/services/line_connection.ts @@ -452,6 +452,10 @@ export default class LineConnection { data, }) if (script?.title === 'DPELP') this.dataDPELP = result + console.log( + `DPELP DATA line ${this.config.lineNumber} of ${this.config.stationName}:`, + this.dataDPELP + ) if (this.config.latestScenario) this.config.latestScenario = { ...this.config.latestScenario, detectAI: detectLog } this.config.data = data diff --git a/FRONTEND/src/components/CardLine.tsx b/FRONTEND/src/components/CardLine.tsx index 378ff29..02ed8ae 100644 --- a/FRONTEND/src/components/CardLine.tsx +++ b/FRONTEND/src/components/CardLine.tsx @@ -296,7 +296,11 @@ const CardLine = ({ )} {line?.inventory?.pid && line?.inventory?.sn && ( +