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

CellQueue.h 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*************************************************************************
  2. 【文件名】 CellQueue.h
  3. 【功能模块和目的】 请求排队节点类头文件
  4. 【开发者及日期】 郑石诺 2015/02/06
  5. 【版本】 V1.0.0
  6. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  7. 【更改记录】
  8. *************************************************************************/
  9. #pragma once
  10. #include "cellbase.h"
  11. #include "CellAUTOCREATE.h"
  12. /*************************************************************************
  13. 【类名】 CCellQueue
  14. 【功能】
  15. 【接口说明】 请求排队节点类
  16. 【开发者及日期】 郑石诺 2015/02/06
  17. 【版本】 V1.0.0
  18. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  19. 【更改记录】
  20. *************************************************************************/
  21. class CCellQueue : public CCellBase
  22. {
  23. DECLARE_CELL_AUTOCREATE
  24. public:
  25. CCellQueue(void);
  26. CCellQueue( CCellQueue & cellRequestAgent );
  27. virtual ~CCellQueue(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_QUEUE; }
  35. int maxWaitingTime(void) const { return 5 * 60; }
  36. private:
  37. AGENT_STRATEGY m_AgentStrategy; // 坐席分配策略
  38. int m_VipLevelType; // vip客户级别值的类型,具体值1, 变量2
  39. int m_SuccessPos; // 成功分配坐席下一节点编号
  40. int m_NoFreePos; // 没有空闲坐席下一节点编号
  41. int m_NoAgentPos; // 没有坐席下一节点编号
  42. int m_HangUpPos; // 挂机下一个处理节点
  43. int m_GroupType; // 请求座席组类型值的类型,具体值1, 变量2
  44. CString m_SpecifiedGroup; // 请求的从哪个组分配坐席,是变量时存变量名
  45. CString m_VipLevel; // Vip客户级别,级别从0到9数字越大级别越高,是变量时存变量名
  46. CString m_AgentVar; // 分配坐席的工号存储变量名
  47. CString m_ExtenVar; // 分配坐席的分机号存储变量名
  48. int turnToZhNumBase(int p_num, CString& p_zh);
  49. int CCellQueue::turnToZhNum(int p_nums, CString& p_zh);
  50. };