/************************************************************************* 【文件名】 CellCallOut.h 【功能模块和目的】 自动外呼节点类头文件 【开发者及日期】 郑石诺 2015/02/02 【版本】 V1.0.0 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司 【更改记录】 *************************************************************************/ #pragma once #include "cellbase.h" #include "CellAUTOCREATE.h" /************************************************************************* 【类名】 CCellCallOut 【功能】 【接口说明】 自动外呼节点类 【开发者及日期】 郑石诺 2015/02/02 【版本】 V1.0.0 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司 【更改记录】 *************************************************************************/ class CCellCallOut : public CWnd, public CCellBase { DECLARE_CELL_AUTOCREATE public: CCellCallOut(void); CCellCallOut( CCellCallOut & cellCallOut ); virtual ~CCellCallOut(void); //////////////////////////////////////////////////////////////////////////////// //继承自CCellBase int operate(void); CCellBase * copy(void); bool fillData(IFlowDataProvider& Provider); int onOpResultReturn(CPduEntity *a_pPduEntity); LPCTSTR name(void) const { return CELL_NAME_CALL; } int maxWaitingTime(void) const { return 120; } protected: DECLARE_MESSAGE_MAP() afx_msg void OnTimer(UINT_PTR nIDEvent); private: int m_CalleeNumType; //目标号码类型,具体值1 变量2 int m_CallerNumType; //主叫号码类型,具体值1 变量2 int m_Timeout; //呼叫多少秒无应答作转移失败处理,此项为0时有无应答均认为成功 int m_SuccessPos; //外呼成功时下一节点 int m_FailPos; //外呼失败时下一节点 int m_TimeCount; //时间秒数记时 CString m_CalleeNum; //目标号码,目标号码类型为2时,存储的是变量名 CString m_CallerNum; //主叫号码,目标号码类型为2时,存储的是变量名 };