@measurequick/measurequick-report-generator 1.5.113 → 1.5.115
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
|
@@ -215,13 +215,11 @@ export async function getReport(payload, _test) {
|
|
|
215
215
|
);
|
|
216
216
|
form
|
|
217
217
|
.getTextField("FurnaceManufacturer")
|
|
218
|
-
.setText(
|
|
219
|
-
payload.equipment.ah_make ? payload.equipment.ahu_make : "N/A"
|
|
220
|
-
);
|
|
218
|
+
.setText(payload.equipment.ah_make ? payload.equipment.ah_make : "N/A");
|
|
221
219
|
form
|
|
222
220
|
.getTextField("FurnaceModel")
|
|
223
221
|
.setText(
|
|
224
|
-
payload.equipment.ah_model ? payload.equipment.
|
|
222
|
+
payload.equipment.ah_model ? payload.equipment.ah_model : "N/A"
|
|
225
223
|
);
|
|
226
224
|
form
|
|
227
225
|
.getTextField("RatedBTUInput")
|
|
@@ -240,7 +238,7 @@ export async function getReport(payload, _test) {
|
|
|
240
238
|
form
|
|
241
239
|
.getTextField("FurnaceSerial")
|
|
242
240
|
.setText(
|
|
243
|
-
payload.equipment.ah_serial ? payload.equipment.
|
|
241
|
+
payload.equipment.ah_serial ? payload.equipment.ah_serial : "N/A"
|
|
244
242
|
);
|
|
245
243
|
form
|
|
246
244
|
.getTextField("FurnaceYear")
|
|
@@ -637,13 +635,13 @@ export async function getReport(payload, _test) {
|
|
|
637
635
|
filter_pressure_drop
|
|
638
636
|
);
|
|
639
637
|
let af_entering = af_map.entering
|
|
640
|
-
? duct_test["
|
|
641
|
-
? duct_test["
|
|
638
|
+
? duct_test["ductScreeningTestPoint" + af_map.entering]
|
|
639
|
+
? duct_test["ductScreeningTestPoint" + af_map.entering]
|
|
642
640
|
: null
|
|
643
641
|
: null;
|
|
644
642
|
let af_exiting = af_map.exiting
|
|
645
|
-
? duct_test["
|
|
646
|
-
? duct_test["
|
|
643
|
+
? duct_test["ductScreeningTestPoint" + af_map.exiting]
|
|
644
|
+
? duct_test["ductScreeningTestPoint" + af_map.exiting]
|
|
647
645
|
: null
|
|
648
646
|
: null;
|
|
649
647
|
form
|
|
@@ -691,13 +689,13 @@ export async function getReport(payload, _test) {
|
|
|
691
689
|
coil_pressure_drop
|
|
692
690
|
);
|
|
693
691
|
let coil_entering = coil_map.entering
|
|
694
|
-
? duct_test["
|
|
695
|
-
? duct_test["
|
|
692
|
+
? duct_test["ductScreeningTestPoint" + coil_map.entering]
|
|
693
|
+
? duct_test["ductScreeningTestPoint" + coil_map.entering]
|
|
696
694
|
: null
|
|
697
695
|
: null;
|
|
698
696
|
let coil_exiting = coil_map.exiting
|
|
699
|
-
? duct_test["
|
|
700
|
-
? duct_test["
|
|
697
|
+
? duct_test["ductScreeningTestPoint" + coil_map.exiting]
|
|
698
|
+
? duct_test["ductScreeningTestPoint" + coil_map.exiting]
|
|
701
699
|
: null
|
|
702
700
|
: null;
|
|
703
701
|
form
|
|
@@ -1021,7 +1019,7 @@ export async function getReport(payload, _test) {
|
|
|
1021
1019
|
form
|
|
1022
1020
|
.getTextField("SupplyAverageDB")
|
|
1023
1021
|
.setText(
|
|
1024
|
-
test_data.temperature_leaving_dry_bulb_system.toFixed(1) + " \u00B0F"
|
|
1022
|
+
(+test_data.temperature_leaving_dry_bulb_system).toFixed(1) + " \u00B0F"
|
|
1025
1023
|
);
|
|
1026
1024
|
|
|
1027
1025
|
for (let i = 0; i < return_grilles.length; i++) {
|
|
@@ -1039,11 +1037,12 @@ export async function getReport(payload, _test) {
|
|
|
1039
1037
|
|
|
1040
1038
|
form
|
|
1041
1039
|
.getTextField("ReturnAirflowTotal")
|
|
1042
|
-
.setText(payload.project.flow_hood.returnAirflow.toFixed(0) + " cfm");
|
|
1040
|
+
.setText((+payload.project.flow_hood.returnAirflow).toFixed(0) + " cfm");
|
|
1043
1041
|
form
|
|
1044
1042
|
.getTextField("ReturnAverageDB")
|
|
1045
1043
|
.setText(
|
|
1046
|
-
test_data.temperature_entering_dry_bulb_system.toFixed(1) +
|
|
1044
|
+
(+test_data.temperature_entering_dry_bulb_system).toFixed(1) +
|
|
1045
|
+
" \u00B0F"
|
|
1047
1046
|
);
|
|
1048
1047
|
|
|
1049
1048
|
/******** PHOTOS (X PAGES) *********/
|