InsertDB.h
上传用户:haiweijt
上传日期:2018-02-23
资源大小:8195k
文件大小:1k
- #include "TNewADO.h"
- #include "TConfigA.h"
- #include "string.h"
- // TMyBuffer.h: interface for the TMyBuffer class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_TMYBUFFER_H__01F3C4F5_39F6_4948_B544_A1FA4E2397A1__INCLUDED_)
- #define AFX_TMYBUFFER_H__01F3C4F5_39F6_4948_B544_A1FA4E2397A1__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class InsertDB
- {
- public:
- void Insert(char* buf, int size);
- void InsertInto(char* str);
-
- InsertDB();
- virtual ~InsertDB();
- private:
- char m_Buffer[1024];
- int m_Offset;
- TNewADO tn;
- TConfigA tco;
- int m_flag;
- int m_zhizhen;
- int m_zhi;
- int ziduan[6];
- // int m_duozd;
- //char m_cmd[10][50];
- char m_fies[10];
- char m_field[10][6][50];
- char m_table[10][150];
- char m_cmd[10][50];
- char v_cmd[10][50];
- char v_duozd[6][500];//记忆上行记录
- };
- #endif // !defined(AFX_TMYBUFFER_H__01F3C4F5_39F6_4948_B544_A1FA4E2397A1__INCLUDED_)