Index: firmware/App/Services/Reservoirs.h =================================================================== diff -u -r99b0c8f1ff9f9319f68e5043cd8c007e317a05c0 -rc0160362dc799802ec589d5b6cf4c2bd1face77e --- firmware/App/Services/Reservoirs.h (.../Reservoirs.h) (revision 99b0c8f1ff9f9319f68e5043cd8c007e317a05c0) +++ firmware/App/Services/Reservoirs.h (.../Reservoirs.h) (revision c0160362dc799802ec589d5b6cf4c2bd1face77e) @@ -20,6 +20,7 @@ #include "DGCommon.h" #include "DGDefs.h" +#include "NVDataMgmt.h" /** * @defgroup Reservoirs Reservoirs @@ -68,8 +69,10 @@ // ********** public function prototypes ********** void initReservoirs( void ); -void execReservoirs( void ); +void execReservoirs( void ); +SELF_TEST_STATUS_T execReservoirsSelfTest( void ); + void setActiveReservoirCmd( DG_RESERVOIR_ID_T resID ); // handle switch reservoirs command from HD void changeValveSettingCmd( DG_VALVE_SETTING_ID_T valveSettingID ); // handle valve setting change command from HD void startFillCmd( U32 fillToVolMl ); // handle fill command from HD @@ -82,6 +85,8 @@ DG_RESERVOIR_ID_T getInactiveReservoir( void ); F32 getReservoirWeight( DG_RESERVOIR_ID_T reservoirId ); + +DG_RESERVOIR_VOLUME_RECORD_T getReservoirsCalRecord( void ); BOOL hasTargetFillVolumeBeenReached( DG_RESERVOIR_ID_T reservoirId ); BOOL hasTargetDrainVolumeBeenReached( DG_RESERVOIR_ID_T reservoirId, U32 timeout );