wip:
This commit is contained in:
1 parent
8c0160dd77
commit
1c79271056
4 files changed
+326
-1
No files matched your search
@@ -95,6 +95,26 @@ int main(void)
|
||||
printf("Test result: %s\n", test_pressure <= pressure_drop_limit ? "PASSED" : "FAILED");
|
||||
printf("***************************************************\n");
|
||||
printf("\n");
|
||||
/* Offer to save report as PDF */
|
||||
bool save_pdf = false;
|
||||
get_yes_no(&save_pdf, "Save report to PDF?");
|
||||
if (save_pdf)
|
||||
{
|
||||
save_report_to_pdf(
|
||||
he->heat_exchanger_description,
|
||||
he->heat_exchanger_type_data[part_number].part_number_description,
|
||||
hetd->air_passages_data[air_passage_number].air_passage_description,
|
||||
airflow,
|
||||
airflow_pressure,
|
||||
unit,
|
||||
apd->recalculated_required ? &barometric_pressure : NULL,
|
||||
apd->recalculated_required ? &airflow_temperature : NULL,
|
||||
apd->recalculated_required ? &corrected_airflow_pressure : NULL,
|
||||
pressure_drop_limit,
|
||||
test_pressure <= pressure_drop_limit ? "PASSED" : "FAILED",
|
||||
apd->recalculated_required);
|
||||
}
|
||||
printf("\n");
|
||||
uint16_t command = 0;
|
||||
get_user_command(&command);
|
||||
EXIT_CHECK(command);
|
||||
|
||||
Reference in new issue
Block a user