MiddleWares_YiHe 郑州颐和医院随访系统中间件

CellContinueQueue.h 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*************************************************************************
  2. 【文件名】 CellContinueQueue.h
  3. 【功能模块和目的】 继续排队节点类头文件
  4. 【开发者及日期】 郑石诺 2015/02/03
  5. 【版本】 V1.0.0
  6. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  7. 【更改记录】
  8. *************************************************************************/
  9. #pragma once
  10. #include "cellbase.h"
  11. #include "CellAUTOCREATE.h"
  12. /*************************************************************************
  13. 【类名】 CCellContinueQueue
  14. 【功能】
  15. 【接口说明】 继续排队节点类
  16. 【开发者及日期】 郑石诺 2015/02/03
  17. 【版本】 V1.0.0
  18. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  19. 【更改记录】
  20. *************************************************************************/
  21. class CCellContinueQueue : public CCellBase
  22. {
  23. DECLARE_CELL_AUTOCREATE
  24. public:
  25. CCellContinueQueue(void);
  26. CCellContinueQueue( CCellContinueQueue & cellContinueQueue );
  27. virtual ~CCellContinueQueue(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_CONTINUE_QUEUE; }
  35. int maxWaitingTime(void) const { return 10 * 60; }
  36. private:
  37. CString m_AgentNo; // 坐席工号存储变量
  38. CString m_AgentExten; // 坐席分机存储变量
  39. CString m_AudioFile; // 语音文件名
  40. int m_Timeout; // 最大等待时长
  41. int m_SuccessPos; // 执行成功的下一节点编号
  42. int m_TimeoutPos; // 等待超时的下一节点编号
  43. int m_HangupPos; // 对端挂机的下一节点编号
  44. };