hd

CellCallOut.h 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*************************************************************************
  2. 【文件名】 CellCallOut.h
  3. 【功能模块和目的】 自动外呼节点类头文件
  4. 【开发者及日期】 郑石诺 2015/02/02
  5. 【版本】 V1.0.0
  6. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  7. 【更改记录】
  8. *************************************************************************/
  9. #pragma once
  10. #include "cellbase.h"
  11. #include "CellAUTOCREATE.h"
  12. /*************************************************************************
  13. 【类名】 CCellCallOut
  14. 【功能】
  15. 【接口说明】 自动外呼节点类
  16. 【开发者及日期】 郑石诺 2015/02/02
  17. 【版本】 V1.0.0
  18. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  19. 【更改记录】
  20. *************************************************************************/
  21. class CCellCallOut : public CWnd, public CCellBase
  22. {
  23. DECLARE_CELL_AUTOCREATE
  24. public:
  25. CCellCallOut(void);
  26. CCellCallOut( CCellCallOut & cellCallOut );
  27. virtual ~CCellCallOut(void);
  28. ////////////////////////////////////////////////////////////////////////////////
  29. //继承自CCellBase
  30. int operate(void);
  31. CCellBase * copy(void);
  32. bool fillData(IFlowDataProvider& Provider);
  33. int onOpResultReturn(CPduEntity *a_pPduEntity);
  34. LPCTSTR name(void) const { return CELL_NAME_CALL; }
  35. int maxWaitingTime(void) const { return 120; }
  36. protected:
  37. DECLARE_MESSAGE_MAP()
  38. afx_msg void OnTimer(UINT_PTR nIDEvent);
  39. private:
  40. int m_CalleeNumType; //目标号码类型,具体值1 变量2
  41. int m_CallerNumType; //主叫号码类型,具体值1 变量2
  42. int m_Timeout; //呼叫多少秒无应答作转移失败处理,此项为0时有无应答均认为成功
  43. int m_SuccessPos; //外呼成功时下一节点
  44. int m_FailPos; //外呼失败时下一节点
  45. int m_TimeCount; //时间秒数记时
  46. CString m_CalleeNum; //目标号码,目标号码类型为2时,存储的是变量名
  47. CString m_CallerNum; //主叫号码,目标号码类型为2时,存储的是变量名
  48. };