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

📄 hfcjzc.h

📁 170话费催交系统
💻 H
字号:
#if !defined(__HHFCJZC_H__)
#define __HHFCJZC_H__

#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
#include <fcntl.h>
#include <stdarg.h>
#include <afxmt.h>
#include <time.h>
#include <string.h>
//语音卡head
#include <srllib.h>
#include <dxxxlib.h>
#include <dtilib.h>
#include <sctools.h>

//自定义head
#include "hdefine.h"
#include "htypedef.h"
#include "Mydatabase.h"
#include "zdcjall.h"
#include "hfcjyykvar.h"
#include "myvc.h"

//void WinPrintf(char *szFormat, ...);		//显示一个信息窗口
UINT Writedata(LPVOID pParam);				//往主缓冲区写数据的线程
int Readrecord(MAIN_CJDATA *rddata);		//读一条记录的函数
void GetTime(char* lstime);					//取当前时间并转变成字符串
void CToSql(char* lstime);					//转变时间字符串格式
UINT Maincontrol(LPVOID pParam);			//催缴主线程
BOOL Cmpcjarg(CJ_ARG* lpcjarg);				//判定是否到了催缴时间
int yin_seize(int i);						//拨号
int chan_init(int i);						//重置端口
UINT Cjwork(LPVOID pParam);					//催缴工作线程函数
int Process(int channel,unsigned long evt_handle);	//催缴工作线程中调用到的处理函数
int end_prog();					//关闭语音卡和语音文件
int yin_mfc(int channel);		//MultiFrequencyControl Procedure
int yin_r2_playfsig(int channel, int forwardsig);	//to play a forward signal
int playtone_init(void);		//to initialize tonegen and r2_tpt
int yin_bwboff(int channel);	//Backword hangup during MFC
int yin_getbksig(int channel,unsigned long evt_handle);	//Get backward signal
int  yin_fwaon(int channel);	//Forward hangup after end of play
int yin_playf(int channel);		//Set up IOTT and TPT's and Play-Back
int clr_output(int channel);	//清除某通道屏显的函数
void time_process(void);		//超时处理函数
int Readdata(int channel);		//从缓冲区读一条数据
int Writeappdata(int channel);	//往辅缓冲区写数据
int Index_sz(int channel);		//索引语音数组
int Index_time(char *sz_time, DX_IOTT *iott_time,int filenum,int channum);	//索引时间字串
int Index_value(char *sz_value,DX_IOTT *iott_value,int filenum,int channum);	//索引金额字串
UINT DataConnect(LPVOID pParam);	//校验数据库连接并自动处理的线程函数
UINT RecordData(LPVOID pParam);		//写数据库日志记录
void Init_data();			//初始化数据库的函数
int get_bdname(int boardid);	//To get boardname according board id
void Init_sys();		//初始化文件和语音卡的函数
int yin_r2_creatbsig(int channel);	//to build backward signal detection

#endif

⌨️ 快捷键说明

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