Index: NVDataMgmtDGRecords.h =================================================================== diff -u -rf480c73cfca65442ee51d0189370f4d464f026e7 -rc0e7b9287da8b31bcb7d74c937f60ad263eeb710 --- NVDataMgmtDGRecords.h (.../NVDataMgmtDGRecords.h) (revision f480c73cfca65442ee51d0189370f4d464f026e7) +++ NVDataMgmtDGRecords.h (.../NVDataMgmtDGRecords.h) (revision c0e7b9287da8b31bcb7d74c937f60ad263eeb710) @@ -1,3 +1,19 @@ +/************************************************************************** +* +* Copyright (c) 2019-2021 Diality Inc. - All Rights Reserved. +* +* THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN +* WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. +* +* @file NVDataMgmtDGRecords.h +* +* @author (last) Dara Navaei +* @date (last) 03-Nov-2021 +* +* @author (original) Dara Navaei +* @date (original) 12-Feb-2021 +* +***************************************************************************/ #ifndef FWCOMMON_NVDATAMGMTDGRECORDS_H_ #define FWCOMMON_NVDATAMGMTDGRECORDS_H_ @@ -32,6 +48,7 @@ typedef enum dg_flow_sensors { CAL_DATA_RO_PUMP_FLOW_SENSOR = 0, ///< RO pump flow sensor. + CAL_DATA_DIALYSATE_FLOW_SENSOR, ///< RO pump dialysate flow sensor. NUM_OF_CAL_DATA_FLOW_SENSORS, ///< Number of flow sensors. } CAL_DATA_DG_FLOW_SENSORS_T; @@ -184,7 +201,7 @@ POLYNOMIAL_CAL_PAYLOAD_T flowSensors[ NUM_OF_CAL_DATA_FLOW_SENSORS ]; ///< Flow sensors to calibrate. // NOTE: The reserved space is for 6 sensors. This portion of the struct should be eventually be // reduced, so #define was not used for the size of the array - POLYNOMIAL_CAL_PAYLOAD_T reservedSpace[ 3 ]; ///< Reserved space for future flow sensors. + POLYNOMIAL_CAL_PAYLOAD_T reservedSpace[ 2 ]; ///< Reserved space for future flow sensors. } DG_FLOW_SENSORS_CAL_RECORD_T; /// Load cells calibration structure @@ -375,6 +392,12 @@ U32 waterConsumption; ///< Water consumption. U16 crc; ///< CRC for the DG usage info structure. } DG_USAGE_INFO_RECORD_T; + +/// DG heaters information structure +typedef struct +{ + F32 averageFillFlow; ///< Average fill flow rate. +} DG_HEATERS_RECORD_T; #pragma pack(pop) /**@}*/