Index: firmware/App/Controllers/DGInterface.h =================================================================== diff -u -r8afac005a36a62d8d36e58a4c46d0225b3367204 -r1cbf981dbed9d9f375c50edfef1d40819295ef2b --- firmware/App/Controllers/DGInterface.h (.../DGInterface.h) (revision 8afac005a36a62d8d36e58a4c46d0225b3367204) +++ firmware/App/Controllers/DGInterface.h (.../DGInterface.h) (revision 1cbf981dbed9d9f375c50edfef1d40819295ef2b) @@ -7,8 +7,8 @@ * * @file DGInterface.h * -* @author (last) Sean Nash -* @date (last) 13-Jan-2023 +* @author (last) Dara Navaei +* @date (last) 07-Mar-2023 * * @author (original) Sean * @date (original) 08-Apr-2020 @@ -90,6 +90,15 @@ U32 flushUIState; ///< DG flush UI state } DG_DISINFECT_UI_STATES_T; +/// HD version of the DG service record +typedef struct +{ + DG_SERVICE_RECORD_T dgServiceRecord; ///< HD version of the DG service record. + DG_USAGE_INFO_RECORD_T dgUsageInfo; ///< HD version of the DG usage info. + BOOL isDGServiceRecordAvailable; ///< Flag to indicate DG service record is available. + BOOL isDGUsageInfoAvailable; ///< Flag to indicate DG usage info is available. +} DG_SERVICE_AND_USAGE_DATA_T; + /// Dialysate heating parameters typedef struct { @@ -98,17 +107,9 @@ F32 timeReservoirFillMS; ///< Reservoir fill time in milliseconds U32 timeReservoirWait2SwitchMS; ///< Reservoir wait to switch time in milliseconds F32 dialysateFlowLPM; ///< Dialysate flow in L/min + BOOL usePriTargetTempEquation; ///< Use primary heater target temperature estimation equation or not. } DG_CMD_DIALYSATE_HEATING_PARAMS_T; -/// HD version of the DG service record -typedef struct -{ - DG_SERVICE_RECORD_T dgServiceRecord; ///< HD version of the DG service record. - DG_USAGE_INFO_RECORD_T dgUsageInfo; ///< HD version of the DG usage info. - BOOL isDGServiceRecordAvailable; ///< Flag to indicate DG service record is available. - BOOL isDGUsageInfoAvailable; ///< Flag to indicate DG usage info is available. -} DG_SERVICE_AND_USAGE_DATA_T; - // ********** public function prototypes ********** void initDGInterface( void );