21 lines
300 B
C++
21 lines
300 B
C++
#ifndef EMGAUWA_CORE_DEVICE_DBO_H
|
|
#define EMGAUWA_CORE_DEVICE_DBO_H
|
|
|
|
#include <string>
|
|
#include <sqlite3.h>
|
|
|
|
class device_dbo
|
|
{
|
|
public:
|
|
char id[23];
|
|
char name[128];
|
|
char ip[17];
|
|
bool active;
|
|
int port;
|
|
int relay_count;
|
|
|
|
bool save();
|
|
};
|
|
|
|
|
|
#endif //EMGAUWA_CORE_DEVICE_DBO_H
|