statereport.h

来自「联通接收发送新程序」· C头文件 代码 · 共 41 行

H
41
字号
#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 + =
减小字号Ctrl + -
显示快捷键?