#include "datafetcher.h" #include "globalparameters.h" #include "mysqlutils.h" #include DataFetcher::DataFetcher() { } DataFetcher::~DataFetcher() { } bool DataFetcher::Fetch(TableData& tbl_data,int fetch_rows) { int rows = MysqlUtils::getInstance()->RetrieveTableData(tbl_data,fetch_rows); if (rows < 0) { hloge("Failed to retrieve signal data"); return false; } return true; } int DataFetcher::VerifyStatus() { return STATUS_NORMAL; }