#ifndef _DATA_BASE_H_ #define _DATA_BASE_H_ int DB_Open(void); int DB_Insert_Record(int gunIndex); int DB_Update_Operactive(uint8_t gunIndex, uint8_t IsAvailable); int DB_Get_Operactive(uint8_t gunIndex); int DB_Reboot_Record(void); //for Module_EventLog int CreateEventRecord(void); int InsertEventRecord(uint8_t *statusCode); int DB_Get_PowerConsumption(uint8_t gunIndex); int DB_Insert_PowerConsumption(uint8_t gunIndex, float energy); int DB_Update_PowerConsumption(uint8_t gunIndex, float energy); #endif /* _DATA_BASE_H_ */