@measurequick/measurequick-report-generator 1.2.129 → 1.2.131
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
|
@@ -185,14 +185,14 @@ export async function getReport(payload, _test) {
|
|
|
185
185
|
|
|
186
186
|
// print pass fail measures
|
|
187
187
|
if (test.testInfo.subsystem_review_complete) {
|
|
188
|
-
let passFails = ["ambient_pass_fail", "control_system_pass_fail",
|
|
189
|
-
let pfLabels =
|
|
190
|
-
for (let i =
|
|
191
|
-
let meas = test.testInfo[passFails[i
|
|
188
|
+
let passFails = ["ambient_pass_fail", "control_system_pass_fail", "electrical_system_pass_fail", "air_distribution_system_pass_fail", "air_filtration_system_pass_fail", "condensate_drain_system_pass_fail", "indoor_equipment_pass_fail", "venting_system_pass_fail", "fuel_delivery_system_pass_fail", "make_up_air_system_pass_fail", "heat_exchanger_pass_fail", "safety_system_pass_fail", "heating_operation_pass_fail", "combustion_pass_fail", "heating_efficiency_pass_fail"];
|
|
189
|
+
let pfLabels = ["Ambient CO", "Control system (thermostat)", "Electrical system", "Air distribution system", "Air filtration system", "Condensate drain system", "Indoor equipment", "Venting system", "Fuel delivery system", "Make up air (CAZ)", "Heat exchanger", "Safety system", "Heating operation", "Combustion Safety", "Combustion efficiency"];
|
|
190
|
+
for (let i = 0; i < passFails.length; i++) {
|
|
191
|
+
let meas = test.testInfo[passFails[i]];
|
|
192
192
|
let icon = meas == "Pass" || meas == "Caution" || meas == "High" || meas == "Mid" ? iconRangeGreen : iconRangeRed;
|
|
193
|
-
if (passFails[i] == '
|
|
193
|
+
if (passFails[i] == 'heating_efficiency_pass_fail') icon = iconRangeGreen;
|
|
194
194
|
form.getButton(`ImageSubsystem${i}_af_image`).setImage(icon);
|
|
195
|
-
form.getTextField(`SSR${i}`).setText(pfLabels[i
|
|
195
|
+
form.getTextField(`SSR${i}`).setText(pfLabels[i]);
|
|
196
196
|
}
|
|
197
197
|
} else form.getTextField(`SSR1`).setText("Not yet reviewed");
|
|
198
198
|
|