From cf6a950dcbcbb24de12161492c59878faa3a6021 Mon Sep 17 00:00:00 2001 From: nguyentrungthat <80239428+nguentrungthat@users.noreply.github.com> Date: Fri, 5 Dec 2025 08:52:50 +0700 Subject: [PATCH] Update --- BACKEND/providers/socket_io_provider.ts | 2 +- FRONTEND/src/components/ButtonAction.tsx | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/BACKEND/providers/socket_io_provider.ts b/BACKEND/providers/socket_io_provider.ts index d64e8b3..e2485e8 100644 --- a/BACKEND/providers/socket_io_provider.ts +++ b/BACKEND/providers/socket_io_provider.ts @@ -549,8 +549,8 @@ export class WebSocketIo { const stationId = data.stationId || '' const station = await Station.find(stationId) // Check station sendWiki flag + console.log('[DPELP] Received run all dpelp', station?.send_wiki) if (!station || !station?.send_wiki) return - console.log('[DPELP] Received run all dpelp') const results = await this.waitUntilAllReady(lineIds) const tableHTML = this.generateTable(results) diff --git a/FRONTEND/src/components/ButtonAction.tsx b/FRONTEND/src/components/ButtonAction.tsx index c0cb05c..384dd62 100644 --- a/FRONTEND/src/components/ButtonAction.tsx +++ b/FRONTEND/src/components/ButtonAction.tsx @@ -53,9 +53,16 @@ export const ButtonDPELP = ({ }, { expect: "", - send: "", + send: "\r\n", delay: "1000", - repeat: "2", + repeat: "1", + note: "", + }, + { + expect: "", + send: "\r\n", + delay: "1000", + repeat: "1", note: "", }, {