Index: firmware/App/Services/TxParams.h =================================================================== diff -u -r78fe8ab743ad4c64144421662960757a29b9b0b0 -r366a9c27c968b9102ef0e88669a9ce5bc76bf17e --- firmware/App/Services/TxParams.h (.../TxParams.h) (revision 78fe8ab743ad4c64144421662960757a29b9b0b0) +++ firmware/App/Services/TxParams.h (.../TxParams.h) (revision 366a9c27c968b9102ef0e88669a9ce5bc76bf17e) @@ -82,18 +82,24 @@ // ********** public function prototypes **************** -void resetTreatmentParameters( void ); // Reset all parameters to defaults -BOOL signalUserConfirmTreatmentParameters( MESSAGE_T *message ); // Process UI confirm/reject Treatment parameters +void resetTreatmentParameters( void ); // Reset all parameters to defaults +BOOL signalUserConfirmTreatmentParameters( MESSAGE_T *message ); // Process UI confirm/reject Treatment parameters -BOOL validateAndSetTreatmentParameters( MESSAGE_T *message ); // Validate Treatment Parameters received from UI -BOOL validateAndSetUFVolume( MESSAGE_T *message ); // Validate UF volume received from UI +BOOL setTreatmentParameterU32( TREATMENT_PARAM_T param, U32 value ); // Set a specified unsigned integer treatment parameter value +BOOL setTreatmentParameterS32( TREATMENT_PARAM_T param, S32 value ); // Set a specified signed integer treatment parameter value +BOOL setTreatmentParameterF32( TREATMENT_PARAM_T param, F32 value ); // Set a specified floating point treatment parameter value -BOOL getValidTreatParamsReceived( void ); // Determine whether valid Treatment Parameters exist -BOOL getTreatParamsConfirmed( void ); // Determine whether user confirmed the parameters +BOOL validateAndSetTreatmentParameters( MESSAGE_T *message ); // Validate Treatment Parameters received from UI +BOOL validateAndSetUFVolume( MESSAGE_T *message ); // Validate UF volume received from UI -U32 getDialyzerBloodVolume( DIALYZER_TYPE_T dialyzer ); // Get the blood side volume for a given dialyzer type -U32 getDialyzerDialysateVolume( DIALYZER_TYPE_T dialyzer ); // Get the dialysate side volume for a given dialyzer type +BOOL getValidTreatParamsReceived( void ); // Determine whether valid Treatment Parameters exist +BOOL getTreatParamsConfirmed( void ); // Determine whether user confirmed the parameters +U32 getDialyzerBloodVolume( DIALYZER_TYPE_T dialyzer ); // Get the blood side volume for a given dialyzer type +U32 getDialyzerDialysateVolume( DIALYZER_TYPE_T dialyzer ); // Get the dialysate side volume for a given dialyzer type + +BOOL testSetTreatmentParameter( TREATMENT_PARAM_T param, CRITICAL_DATAS_T value ); // Set a specific treatment parameter value + /**@}*/ #endif