Update Makefile.conf and fix Line Endings
This commit is contained in:
+37
-37
@@ -1,37 +1,37 @@
|
||||
#ifndef DATAINTERFACE_GRAPHCLIENT_H
|
||||
#define DATAINTERFACE_GRAPHCLIENT_H
|
||||
|
||||
#include <Timespan.h>
|
||||
#include <json.hpp>
|
||||
#include <ctime>
|
||||
#include <vector>
|
||||
|
||||
|
||||
namespace MySQL {
|
||||
|
||||
class MySQLClient;
|
||||
|
||||
} // namespace MySQL
|
||||
|
||||
namespace DataStorageInterface {
|
||||
namespace DataInterface {
|
||||
|
||||
class GraphClient
|
||||
{
|
||||
public:
|
||||
GraphClient(MySQL::MySQLClient* pMySQLClient);
|
||||
|
||||
nlohmann::json GetGraphHeader(const std::vector<int>& dataIds, DataStorage::Timespan::type timespan);
|
||||
nlohmann::json GetGraphData(int deviceId, const std::vector<int>& dataIds, DataStorage::Timespan::type timespan);
|
||||
|
||||
private:
|
||||
nlohmann::json GetGraphHeader(DataStorage::Timespan::type timespan, std::time_t currentTimestamp);
|
||||
|
||||
private:
|
||||
MySQL::MySQLClient* m_pMySQLClient;
|
||||
};
|
||||
|
||||
} // namespace DataInterface
|
||||
} // namespace DataStorageInterface
|
||||
|
||||
#endif // DATAINTERFACE_GRAPHCLIENT_H
|
||||
#ifndef DATAINTERFACE_GRAPHCLIENT_H
|
||||
#define DATAINTERFACE_GRAPHCLIENT_H
|
||||
|
||||
#include <Timespan.h>
|
||||
#include <json.hpp>
|
||||
#include <ctime>
|
||||
#include <vector>
|
||||
|
||||
|
||||
namespace MySQL {
|
||||
|
||||
class MySQLClient;
|
||||
|
||||
} // namespace MySQL
|
||||
|
||||
namespace DataStorageInterface {
|
||||
namespace DataInterface {
|
||||
|
||||
class GraphClient
|
||||
{
|
||||
public:
|
||||
GraphClient(MySQL::MySQLClient* pMySQLClient);
|
||||
|
||||
nlohmann::json GetGraphHeader(const std::vector<int>& dataIds, DataStorage::Timespan::type timespan);
|
||||
nlohmann::json GetGraphData(int deviceId, const std::vector<int>& dataIds, DataStorage::Timespan::type timespan);
|
||||
|
||||
private:
|
||||
nlohmann::json GetGraphHeader(DataStorage::Timespan::type timespan, std::time_t currentTimestamp);
|
||||
|
||||
private:
|
||||
MySQL::MySQLClient* m_pMySQLClient;
|
||||
};
|
||||
|
||||
} // namespace DataInterface
|
||||
} // namespace DataStorageInterface
|
||||
|
||||
#endif // DATAINTERFACE_GRAPHCLIENT_H
|
||||
|
||||
Reference in New Issue
Block a user