@measurequick/measurequick-report-generator 1.2.125 → 1.2.126
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
|
@@ -190,6 +190,9 @@ export async function getReport(payload, _test) {
|
|
|
190
190
|
for (let i = 1; i <= passFails.length; i++) {
|
|
191
191
|
let meas = test.testInfo[passFails[i - 1]];
|
|
192
192
|
let icon = meas == "Pass" || meas == "High" || meas == "Mid" ? iconRangeGreen : iconRangeRed;
|
|
193
|
+
if (passFails[i] == 'combustion_efficiency_pass_fail') icon = iconRangeGreen;
|
|
194
|
+
if (passFails[i] == 'ambient_co_pass_fail') console.log("ambient_co_pass_fail: " + meas);
|
|
195
|
+
if (passFails[i] == 'combustion_safety_pass_fail') console.log("combustion_safety_pass_fail: " + meas);
|
|
193
196
|
form.getButton(`ImageSubsystem${i}_af_image`).setImage(icon);
|
|
194
197
|
form.getTextField(`SSR${i}`).setText(pfLabels[i-1]);
|
|
195
198
|
}
|