Index: firmware/App/Modes/ModeTreatment.h =================================================================== diff -u -rb824ef4b479578c5aa702abd9147aef505a6fb04 -r2fe1bfe77e53e5b92dae1b89c726c59b7b95939f --- firmware/App/Modes/ModeTreatment.h (.../ModeTreatment.h) (revision b824ef4b479578c5aa702abd9147aef505a6fb04) +++ firmware/App/Modes/ModeTreatment.h (.../ModeTreatment.h) (revision 2fe1bfe77e53e5b92dae1b89c726c59b7b95939f) @@ -51,7 +51,7 @@ U32 bldPrimeState; ///< Blood prime state. U32 dialysisState; ///< Dialysis state. U32 isoUFState; ///< Isolated ultrafiltration state. - U32 txStopState; ///< Treatment stop state. + U32 txPausedState; ///< Treatment paused state. U32 rinsebackState; ///< Rinse back state. U32 txRecircState; ///< Treatment recirc state. U32 txEndState; ///< Treatment end state. @@ -100,6 +100,7 @@ void signalAlarmActionToTreatmentMode( ALARM_ACTION_T action ); // Execute alarm action as appropriate for treatment mode void signalEndTreatment( void ); // Requesting transition to post-treatment mode +void signalBloodPrimeToDialysis( void ); // Blood prime sub-mode is signaling to move on to dialysis sub-mode void broadcastTreatmentTimeAndState( void ); // Broadcast the times and states of this treatment @@ -108,6 +109,8 @@ BOOL isTreatmentResumeBlocked( void ); // Determine whether the treatment is not allowed to be resumed. U32 getTreatmentTimeRemainingSecs( void ); // Determine number of seconds remaining in the treatment U32 getActualTreatmentTimeSecs( void ); // Determine the actual treatment duration in seconds +void setBloodIsPrimed( BOOL flag ); // Set whether the blood-side circuit of the dialyzer has been primed with blood (F causes Tx start/resume to do blood prime first) +BOOL getBloodIsPrimed( void ); // Determine whether the blood-side circuit of the dialyzer has been primed with blood U32 getTreatmentStartTimeStamp( void ); // Get the treatment start time stamp U32 getTreatmentEndTimeStamp( void ); // Get the treatment end time stamp