From ec50ed35168b3d816a1cd8d7479d4e6c877d4402 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Fri, 17 Nov 2023 10:22:08 -0500 Subject: [PATCH] Adjust naming of status items --- modules/functions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/functions.js b/modules/functions.js index 5fa6e43..af3e358 100644 --- a/modules/functions.js +++ b/modules/functions.js @@ -265,7 +265,7 @@ const functions = { let { status } = config; let { rows } = res; status.auger = rows.auger; - status.blower = rows.blower; + status.exhaust = rows.blower; // TODO update db to use exhaust not blower status.igniter = rows.igniter; status.igniterFinished = rows.igniter_finished; status.pof = rows.proof_of_fire; @@ -277,8 +277,8 @@ const functions = { dbfn.all(selectTimestampsQuery).then(res => { let { timestamps } = config; let { rows } = res; - timestamps.blowerOff = rows.blower_off; - timestamps.blowerOn = rows.blower_on; + timestamps.exhaustOff = rows.blower_off; + timestamps.exhaustOn = rows.blower_on; timestamps.igniterOff = rows.igniter_off; timestamps.igniterOn = rows.igniter_on; timestamps.procStart = rows.process_start;