Index: NVDataMgmt.h =================================================================== diff -u -r33154cde2aaf919b95e678f513131295ca937d42 -rb46d288230d4e6aa32a7a2764c3d392c4dce0121 --- NVDataMgmt.h (.../NVDataMgmt.h) (revision 33154cde2aaf919b95e678f513131295ca937d42) +++ NVDataMgmt.h (.../NVDataMgmt.h) (revision b46d288230d4e6aa32a7a2764c3d392c4dce0121) @@ -86,6 +86,12 @@ F32 data4; ///< Log data 4 F32 data5; ///< Log data 5 } LOG_DATA_T; + +/// Disinfection date struct +typedef struct +{ + char disinfectionDate [ MAX_DATE_CHARACTERS ]; ///< Disinfection Date +} DISINFECTION_DATE_T; #pragma pack(pop) void initNVDataMgmt ( void ); @@ -100,15 +106,15 @@ BOOL setMfgData ( MFG_DATA_T data ); -void getMfgData ( MFG_DATA_T* buffer ); +BOOL getMfgData ( MFG_DATA_T* buffer ); BOOL setCalibrationData ( CALIBRATION_DATA_T data ); -void getCalibrationData ( CALIBRATION_DATA_T* buffer ); +BOOL getCalibrationData ( CALIBRATION_DATA_T* buffer ); BOOL setServiceDate ( SERVICE_DATA_T data ); -void getServiceDate ( SERVICE_DATA_T* buffer ); +BOOL getServiceDate ( SERVICE_DATA_T* buffer ); BOOL setTreatmentTime ( U32 hours ); @@ -118,9 +124,9 @@ U32 getWaterConsumption ( void ); -BOOL setDisinfectionDate ( char date [ MAX_DATE_CHARACTERS ] ); +BOOL setDisinfectionDate ( DISINFECTION_DATE_T date ); -void getDisinfectionDate ( U08* buffer ); +BOOL getDisinfectionDate ( DISINFECTION_DATE_T* buffer ); BOOL writeLogData ( LOG_DATA_T* data );