2.4.1 Domain Entity Model
| Term | Definition |
|---|---|
| Report Request | The input that starts report generation. It supplies the portal URL, date range, client information, devices, and email recipients. |
| Client Input | Client details used to access the source portal and format the report: username, password, name, and logo. |
| Device Input | A device identified by device_id and configured with temperature thresholds. The current implementation generates a report for the first device in the request. |
| Temperature Threshold | The device’s minimum and maximum temperature limits, used to identify low and high alarm readings. |
| CSV Measurement | A row in the downloaded CSV export. The calculations use its Time and Temperature values; other columns depend on the export. |
| Report Summary | Values calculated from the CSV measurements, including highest, mean, and lowest temperature, alarm counts, and alarm durations. Alarm counts represent readings that meet a threshold, not distinct alarm events. |
| Generated PDF | The report containing the selected device, date range, chart, and calculated summary. It is uploaded to the report-files Blob container. |
| Email Delivery | The sending of the generated PDF as an attachment to the request’s sentTo recipients. |