| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- /*************************************************************************
- 【文件名】 CellQueue.h
- 【功能模块和目的】 请求排队节点类头文件
- 【开发者及日期】 郑石诺 2015/02/06
- 【版本】 V1.0.0
- 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
- 【更改记录】
- *************************************************************************/
- #pragma once
- #include "cellbase.h"
- #include "CellAUTOCREATE.h"
- /*************************************************************************
- 【类名】 CCellQueue
- 【功能】
- 【接口说明】 请求排队节点类
- 【开发者及日期】 郑石诺 2015/02/06
- 【版本】 V1.0.0
- 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
- 【更改记录】
- *************************************************************************/
- class CCellQueue : public CCellBase
- {
- DECLARE_CELL_AUTOCREATE
- public:
- CCellQueue(void);
- CCellQueue( CCellQueue & cellRequestAgent );
- virtual ~CCellQueue(void);
- ////////////////////////////////////////////////////////////////////////////////
- //继承自CCellBase
- int operate(void);
- CCellBase * copy(void);
- bool fillData(IFlowDataProvider& Provider);
- int onOpResultReturn(CPduEntity *a_pPduEntity);
- LPCTSTR name(void) const { return CELL_NAME_QUEUE; }
- int maxWaitingTime(void) const { return 5 * 60; }
- private:
- AGENT_STRATEGY m_AgentStrategy; // 坐席分配策略
- int m_VipLevelType; // vip客户级别值的类型,具体值1, 变量2
- int m_SuccessPos; // 成功分配坐席下一节点编号
- int m_NoFreePos; // 没有空闲坐席下一节点编号
- int m_NoAgentPos; // 没有坐席下一节点编号
- int m_HangUpPos; // 挂机下一个处理节点
- int m_GroupType; // 请求座席组类型值的类型,具体值1, 变量2
- CString m_SpecifiedGroup; // 请求的从哪个组分配坐席,是变量时存变量名
- CString m_VipLevel; // Vip客户级别,级别从0到9数字越大级别越高,是变量时存变量名
- CString m_AgentVar; // 分配坐席的工号存储变量名
- CString m_ExtenVar; // 分配坐席的分机号存储变量名
- int turnToZhNumBase(int p_num, CString& p_zh);
- int CCellQueue::turnToZhNum(int p_nums, CString& p_zh);
- };
|