Index: firmware/App/Modes/ModeStandby.h =================================================================== diff -u -r395522dffef1348e176564925656012f529c1910 -rc2951f468ebc19160ee9af14cc9c35bc16121889 --- firmware/App/Modes/ModeStandby.h (.../ModeStandby.h) (revision 395522dffef1348e176564925656012f529c1910) +++ firmware/App/Modes/ModeStandby.h (.../ModeStandby.h) (revision c2951f468ebc19160ee9af14cc9c35bc16121889) @@ -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( U32 modality ); // Set a specific fluid type +U32 getFluidType( void ); // Get a specific fluid type +U32 getModality( void ); // Get a specific modality + /**@}*/ #endif