20 lines
380 B
C
20 lines
380 B
C
|
#pragma once
|
||
|
#include "BaseDao.h"
|
||
|
#include "../bean/IOCfg.h"
|
||
|
#include "../bean/MachineCfg.h"
|
||
|
#include <sstream>
|
||
|
|
||
|
class IOCfgDao:public BaseDao
|
||
|
{
|
||
|
public:
|
||
|
IOCfgDao(SQLite::Database* pdb);
|
||
|
~IOCfgDao();
|
||
|
void CreateTable();
|
||
|
void Find(IOCfgWrapper* iowrapper);
|
||
|
void Save(map<string, IOCfg*>& iocfgmap);
|
||
|
void Export(map<string, IOCfg*>& iocfgmap, stringstream &sql);
|
||
|
|
||
|
private:
|
||
|
};
|
||
|
|