This commit is contained in:
nguyentrungthat 2025-12-05 08:52:50 +07:00
parent cd2c511afc
commit cf6a950dcb
2 changed files with 10 additions and 3 deletions

View File

@ -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)

View File

@ -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: "",
},
{