Index: firmware/App/Modes/ModeStandby.h =================================================================== diff -u -r395522dffef1348e176564925656012f529c1910 -r88816d9971ae12f9c6d66b4fee68774caa3ba8d3 --- firmware/App/Modes/ModeStandby.h (.../ModeStandby.h) (revision 395522dffef1348e176564925656012f529c1910) +++ firmware/App/Modes/ModeStandby.h (.../ModeStandby.h) (revision 88816d9971ae12f9c6d66b4fee68774caa3ba8d3) @@ -32,6 +32,13 @@ // ********** public definitions ********** +/// Payload record structure for a treatment initiation request +typedef struct +{ + U32 command; ///< Command code (Cancel=0, Initiate=1) + U32 modality; ///< Treatment modality selected by user (ignored on cancel) +} INITIATE_TREATMENT_REQUEST_PAYLOAD_T; + // ********** public function prototypes ********** void initStandbyMode( void ); // Initialize this unit @@ -41,6 +48,10 @@ BOOL signalUserInitiateTreatment( MESSAGE_T *message ); // User has initiated/cancelled treatment workflow void signalAlarmActionToStandbyMode( ALARM_ACTION_T action ); // Execute alarm action as appropriate for Standby mode +void setFluidType( TREATMENT_TYPE_T modality ); // Set a specific fluid type +FLUID_TYPE_T getFluidType( void ); // Get a specific fluid type +TREATMENT_TYPE_T getModality( void ); // Get a specific modality + /**@}*/ #endif