@measurequick/measurequick-report-generator 1.3.2 → 1.3.3
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
|
@@ -11,7 +11,102 @@ export async function getReport(payload) {
|
|
|
11
11
|
// get form for filling
|
|
12
12
|
const form = pdfDoc.getForm();
|
|
13
13
|
|
|
14
|
+
// TOP SECTION
|
|
15
|
+
// form.getTextField('Installation Contractor').setText(payload.);
|
|
16
|
+
// form.getTextField('Installation Tech').setText(payload.);
|
|
17
|
+
// form.getTextField('System Reference ID').setText(payload.);
|
|
18
|
+
// form.getTextField('Install Service Date').setText(payload.);
|
|
14
19
|
|
|
20
|
+
// if () form.getCheckBox('ExistingHeatSourceFuelGas').check();
|
|
21
|
+
// else if () form.getCheckBox('ExistingHeatSourceFuelElectric').check();
|
|
22
|
+
// else form.getCheckBox('ExistingHeatSourceFuelDual').check();
|
|
23
|
+
|
|
24
|
+
// if () form.getCheckBox('SystemTypeHP').check();
|
|
25
|
+
// else form.getCheckBox('SystemTypeAC').check();
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
// // TUNE UP
|
|
29
|
+
// form.getTextField('Manufacturer').setText(payload.);
|
|
30
|
+
// form.getTextField('Measured EER').setText(payload.);
|
|
31
|
+
// form.getTextField('Age of System').setText(payload.);
|
|
32
|
+
// form.getTextField('Heat Pump Efficiency').setText(payload.);
|
|
33
|
+
// form.getTextField('Model Number').setText(payload.);
|
|
34
|
+
// form.getTextField('Calculated SEER').setText(payload.);
|
|
35
|
+
// form.getTextField('Capacity Btuh').setText(payload.);
|
|
36
|
+
// form.getTextField('Installed Thermostat Make and Model').setText(payload.);
|
|
37
|
+
|
|
38
|
+
// if () form.getCheckBox('Refrigerant Charge Repair').check();
|
|
39
|
+
// if () form.getCheckBox('Indoor Coil Clean').check();
|
|
40
|
+
// if () form.getCheckBox('Outdoor Coil Clean').check();
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
// // THERMOSTAT
|
|
44
|
+
// if () form.getCheckBox('ExistingThermostatTypeManual').check();
|
|
45
|
+
// else form.getCheckBox('ExistingThermostatTypeProgrammable').check();
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
// // HVAC QUALITY INSTALL
|
|
49
|
+
// form.getTextField('Capacity Btuh_2').setText(payload.);
|
|
50
|
+
// form.getTextField('AHRI Capacity Btuh').setText(payload.);
|
|
51
|
+
// form.getTextField('Measured System EER').setText(payload.);
|
|
52
|
+
// form.getTextField('Manufacturer_2').setText(payload.);
|
|
53
|
+
// form.getTextField('Heat Pump Efficiency COP or HSPF_2').setText(payload.);
|
|
54
|
+
// form.getTextField('AHRI Certificate Number').setText(payload.);
|
|
55
|
+
// form.getTextField('Calculated SEER normalized to AHRI conditions2').setText(payload.);
|
|
56
|
+
// form.getTextField('Indoor Coil Model Number').setText(payload.);
|
|
57
|
+
// form.getTextField('Age of System_2').setText(payload.);
|
|
58
|
+
// form.getTextField('Manufactured SEER2:').setText(payload.);
|
|
59
|
+
// form.getTextField('Manufactured EER2:').setText(payload.);
|
|
60
|
+
// form.getTextField('HP Efficiency COP or HSPF').setText(payload.);
|
|
61
|
+
|
|
62
|
+
// form.getRadioGroup('StableOperational15Min').select('Yes');
|
|
63
|
+
|
|
64
|
+
// // COOLING
|
|
65
|
+
// form.getTextField('InsidePerfReturnDryBulb').setText(payload.);
|
|
66
|
+
// form.getTextField('InsidePerfSupplyDryBulb').setText(payload.);
|
|
67
|
+
// form.getTextField('InsidePerfTempSplit').setText(payload.);
|
|
68
|
+
// form.getTextField('InsidePerfReturnWetBulb').setText(payload.);
|
|
69
|
+
// form.getTextField('InsidePerformanceSupplyWetBulb').setText(payload.);
|
|
70
|
+
// form.getTextField('OutsidePerf').setText(payload.);
|
|
71
|
+
// form.getTextField('TXVLiqLineTemp').setText(payload.);
|
|
72
|
+
// form.getTextField('TXVCondTemp').setText(payload.);
|
|
73
|
+
// form.getTextField('TXVSubcooling').setText(payload.);
|
|
74
|
+
// form.getTextField('FixedOrificeSuctionLineTemp').setText(payload.);
|
|
75
|
+
// form.getTextField('FixedOrificeSatTemp').setText(payload.);
|
|
76
|
+
// form.getTextField('FixedOrificeSuperheat').setText(payload.);
|
|
77
|
+
// form.getTextField('PressureReadingsLow Pressure').setText(payload.);
|
|
78
|
+
// form.getTextField('PressureReadingsHigh Pressure').setText(payload.);
|
|
79
|
+
|
|
80
|
+
// if () form.getCheckBox('ChargingMethodHeat').check();
|
|
81
|
+
// else form.getCheckBox('ChargingMethodCooling').check();
|
|
82
|
+
|
|
83
|
+
// if () form.getCheckBox('RefrigDeviceFixed Orifice').check();
|
|
84
|
+
// else form.getCheckBox('RefrigDeviceTXV').check();
|
|
85
|
+
|
|
86
|
+
// if () form.getCheckBox('R410A').check();
|
|
87
|
+
// else if () form.getCheckBox('R22').check();
|
|
88
|
+
// else form.getCheckBox('R32').check();
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
// // AIRFLOW
|
|
92
|
+
// form.getTextField('CFMTon').setText(payload.);
|
|
93
|
+
// form.getTextField('DuctStaticPressReturnAir').setText(payload.);
|
|
94
|
+
// form.getTextField('DuctStaticPressSupplyAir').setText(payload.);
|
|
95
|
+
// form.getTextField('DuctStaticPressExtStaticPress').setText(payload.);
|
|
96
|
+
|
|
97
|
+
// if () form.getCheckBox('TestingMethodTemp Split').check();
|
|
98
|
+
// else if () form.getCheckBox('TestingMethodFlow Capture').check();
|
|
99
|
+
// else if () form.getCheckBox('TestingMethodFlow Grid').check();
|
|
100
|
+
// else form.getCheckBox('TestingMethodPressure Matching').check();
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
// // HEATING
|
|
104
|
+
// form.getTextField('HeatingEnteringReturn').setText(payload.);
|
|
105
|
+
// form.getTextField('HeatingExistingSupply').setText(payload.);
|
|
106
|
+
// form.getTextField('HeatingTempRiseDiff').setText(payload.);
|
|
107
|
+
// form.getTextField('HeatingOutdoor').setText(payload.);
|
|
108
|
+
// form.getTextField('HeatingAHRI').setText(payload.);
|
|
109
|
+
// form.getTextField('HeatingSize of Unit').setText(payload.);
|
|
15
110
|
|
|
16
111
|
// flatten and return as base64
|
|
17
112
|
form.flatten();
|