Index: firmware/App/Services/NVRecordsDD.h =================================================================== diff -u -rbe1ff666dbd2ff03342c22c8e50b21d0f9b988a9 -r1ce98afa73e6c88addb3a01643c791c15e7a147c --- firmware/App/Services/NVRecordsDD.h (.../NVRecordsDD.h) (revision be1ff666dbd2ff03342c22c8e50b21d0f9b988a9) +++ firmware/App/Services/NVRecordsDD.h (.../NVRecordsDD.h) (revision 1ce98afa73e6c88addb3a01643c791c15e7a147c) @@ -73,6 +73,7 @@ typedef enum DD_Cal_Records_Type { DD_CAL_RECORD_PRESSURE_SENSOR = 0, ///< Index for pressure sensors calibration data. + DD_CAL_FIRST_RECORD = DD_CAL_RECORD_PRESSURE_SENSOR, ///< First component of the calibration data. DD_CAL_RECORD_TEMPERATURE_SENSOR, ///< Index for temperature sensors calibration data. DD_CAL_RECORD_CONCENTRATE_PUMP, ///< Index for concentrate pumps calibration record. DD_CAL_RECORD_D12_PUMP, ///< Index for D12 dialysate pump calibration record. @@ -88,6 +89,7 @@ typedef enum DD_Instit_Records_Type { DD_INSTIT_MIN_DIALYSATE_FLOW_MLPM = 0, ///< Index for Min dialysate flow in mL/min. + DD_INSTIT_FIRST_PARAM = DD_INSTIT_MIN_DIALYSATE_FLOW_MLPM, ///< First Parameter of the Institutional record. DD_INSTIT_MAX_DIALYSATE_FLOW_MLPM, ///< Index for Max dialysate flow in mL/min. DD_INSTIT_MIN_DIALYSATE_TEMP_C, ///< Index for Min dialysate temperature in C. DD_INSTIT_MAX_DIALYSATE_TEMP_C, ///< Index for Max dialysate temperature in C. @@ -109,7 +111,7 @@ DD_INSTIT_MIN_BICARB_ALARM_LIMIT_PCT, ///< Index for Min bicarbonate alarm limit in percent. DD_INSTIT_POST_TREAT_DRAIN_OPTION, ///< Index for Dialysate Post Treatment Drain Option  DD_INSTIT_POST_TREAT_DRY_BICARB_OPTION, ///< Index for Dry Bicarbonate Post Treatment Option  - DD_INSTIT_CALIBRATION_TIME, ///< Index for Calibration time in epoch. + DD_INSTIT_LAST_UPDATED_TIME, ///< Index for last updated time in epoch. DD_INSTIT_CRC, ///< Index for CRC of the institutional record. NUM_OF_DD_INSTIT_RECORD_TYPE ///< Total number of components in institutional record }DD_INSTIT_REC_TYPE; @@ -298,7 +300,7 @@ F32 minBicarbAlarmLimitPCT; ///< Min bicarbonate alarm limit in percent. U32 postTreatDrainOption; ///< Dialysate Post Treatment Drain Option  U32 postTreatDryBicarbOption; ///< Dry Bicarbonate Post Treatment Option  - U32 calibrationTime; ///< Calibration time in epoch. + U32 lastUpdatedTime; ///< Last time when institutional setting was updated in epoch. U16 crc; ///< CRC of the institutional record. } DD_INSTITUTIONAL_RECORD_T;