Adjust naming of status items
This commit is contained in:
parent
1919a9c518
commit
ec50ed3516
@ -265,7 +265,7 @@ const functions = {
|
|||||||
let { status } = config;
|
let { status } = config;
|
||||||
let { rows } = res;
|
let { rows } = res;
|
||||||
status.auger = rows.auger;
|
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.igniter = rows.igniter;
|
||||||
status.igniterFinished = rows.igniter_finished;
|
status.igniterFinished = rows.igniter_finished;
|
||||||
status.pof = rows.proof_of_fire;
|
status.pof = rows.proof_of_fire;
|
||||||
@ -277,8 +277,8 @@ const functions = {
|
|||||||
dbfn.all(selectTimestampsQuery).then(res => {
|
dbfn.all(selectTimestampsQuery).then(res => {
|
||||||
let { timestamps } = config;
|
let { timestamps } = config;
|
||||||
let { rows } = res;
|
let { rows } = res;
|
||||||
timestamps.blowerOff = rows.blower_off;
|
timestamps.exhaustOff = rows.blower_off;
|
||||||
timestamps.blowerOn = rows.blower_on;
|
timestamps.exhaustOn = rows.blower_on;
|
||||||
timestamps.igniterOff = rows.igniter_off;
|
timestamps.igniterOff = rows.igniter_off;
|
||||||
timestamps.igniterOn = rows.igniter_on;
|
timestamps.igniterOn = rows.igniter_on;
|
||||||
timestamps.procStart = rows.process_start;
|
timestamps.procStart = rows.process_start;
|
||||||
|
Loading…
Reference in New Issue
Block a user