⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 statereport.h

📁 联通接收发送新程序
💻 H
字号:
#ifndef _STATEREPORT_H
#define _STATEREPORT_H

#include "DB.h"
#include "o_code.hpp"
#include "commondef.h"

class CStateReport
{
public:
	CStateReport( XW_Connection &conn = DefaultConnect) : Connect( conn ),
														  t_mobile_report( conn ),
														  t_mobile_report_log (conn ),
														  oCode( conn )
	{
		SetReportTbName( "UNICOM_REPORT","UNICOM_REPORT_LOG" ) ;
	}
	~CStateReport()
	{}
    void SetReportTbName( const char *sReportName,const char *sReportLogName ) 
	{
		strcpy( m_sReportName,sReportName ) ;
		t_mobile_report.SetTableName( sReportName ) ;
		t_mobile_report_log.SetTableName( sReportLogName ) ;
	}

	int InsertReport( StruDispense &stDispense ) ;
	int SetState( StruReport &stReport ) ;
private:
	XW_Connection &Connect ;
	T_MOBILE_REPORT t_mobile_report ;
	T_MOBILE_REPORT t_mobile_report_log ;

	O_CODE oCode ;
	char m_sReportName[ 40 ] ;
	char pcSql[ 512 ] ;

};


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -