@measurequick/measurequick-report-generator 1.5.116 → 1.5.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -606,22 +606,22 @@ export async function getReport(payload, _test) {
|
|
|
606
606
|
|
|
607
607
|
let tesp_factors = getTESPPointsUsed(test.ductScreeningSystemType);
|
|
608
608
|
|
|
609
|
-
if (test["
|
|
609
|
+
if (test["ductScreeningTestPoint" + tesp_factors.entering]) {
|
|
610
610
|
form
|
|
611
611
|
.getTextField("TESPEntering")
|
|
612
612
|
.setText(
|
|
613
|
-
(+test["
|
|
613
|
+
(+test["ductScreeningTestPoint" + tesp_factors.entering])
|
|
614
614
|
.toFixed(2)
|
|
615
615
|
.toString() + " inH2O"
|
|
616
616
|
);
|
|
617
617
|
} else {
|
|
618
618
|
form.getTextField("TESPEntering").setText("--");
|
|
619
619
|
}
|
|
620
|
-
if (test["
|
|
620
|
+
if (test["ductScreeningTestPoint" + tesp_factors.exiting]) {
|
|
621
621
|
form
|
|
622
622
|
.getTextField("TESPExiting")
|
|
623
623
|
.setText(
|
|
624
|
-
(+test["
|
|
624
|
+
(+test["ductScreeningTestPoint" + tesp_factors.exiting])
|
|
625
625
|
.toFixed(2)
|
|
626
626
|
.toString() + " inH2O"
|
|
627
627
|
);
|
|
@@ -1014,7 +1014,7 @@ export async function getReport(payload, _test) {
|
|
|
1014
1014
|
);
|
|
1015
1015
|
form
|
|
1016
1016
|
.getTextField("SupplyAirflow" + (i + 1))
|
|
1017
|
-
.setText(supply_registers[i].airflow + " cfm");
|
|
1017
|
+
.setText((+supply_registers[i].airflow).toFixed(0) + " cfm");
|
|
1018
1018
|
}
|
|
1019
1019
|
|
|
1020
1020
|
form
|
|
@@ -1036,7 +1036,7 @@ export async function getReport(payload, _test) {
|
|
|
1036
1036
|
);
|
|
1037
1037
|
form
|
|
1038
1038
|
.getTextField("ReturnAirflow" + (i + 1))
|
|
1039
|
-
.setText(return_grilles[i].airflow + " cfm");
|
|
1039
|
+
.setText((+return_grilles[i].airflow).toFixed(0) + " cfm");
|
|
1040
1040
|
}
|
|
1041
1041
|
|
|
1042
1042
|
form
|
|
@@ -355,22 +355,22 @@ export async function getReport(payload, _test) {
|
|
|
355
355
|
|
|
356
356
|
let tesp_factors = getTESPPointsUsed(test.ductScreeningSystemType);
|
|
357
357
|
|
|
358
|
-
if (test["
|
|
358
|
+
if (test["ductScreeningTestPoint" + tesp_factors.entering]) {
|
|
359
359
|
form
|
|
360
360
|
.getTextField("TESPEntering")
|
|
361
361
|
.setText(
|
|
362
|
-
(+test["
|
|
362
|
+
(+test["ductScreeningTestPoint" + tesp_factors.entering])
|
|
363
363
|
.toFixed(2)
|
|
364
364
|
.toString() + " inH2O"
|
|
365
365
|
);
|
|
366
366
|
} else {
|
|
367
367
|
form.getTextField("TESPEntering").setText("--");
|
|
368
368
|
}
|
|
369
|
-
if (test["
|
|
369
|
+
if (test["ductScreeningTestPoint" + tesp_factors.exiting]) {
|
|
370
370
|
form
|
|
371
371
|
.getTextField("TESPExiting")
|
|
372
372
|
.setText(
|
|
373
|
-
(+test["
|
|
373
|
+
(+test["ductScreeningTestPoint" + tesp_factors.exiting])
|
|
374
374
|
.toFixed(2)
|
|
375
375
|
.toString() + " inH2O"
|
|
376
376
|
);
|