升龙物业 老版本 ocx IPO, 加密狗 转值班电话

IvrFlow.h 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*************************************************************************
  2. 【文件名】 IvrFlow.h
  3. 【功能模块和目的】 CIvrFlow类头文件
  4. 【开发者及日期】 郑石诺 2015/01/10
  5. 【版本】 V1.0.0
  6. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  7. 【更改记录】
  8. *************************************************************************/
  9. #pragma once
  10. class CPduEntity;
  11. /*************************************************************************
  12. 【类名】 CIvrFlow
  13. 【功能】 1.处理或转发Pdu命令
  14. 2.处理设备事件
  15. 【接口说明】
  16. 【开发者及日期】 郑石诺 2015/01/10
  17. 【版本】 V1.0.0
  18. 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
  19. 【更改记录】
  20. *************************************************************************/
  21. class CIvrFlow
  22. {
  23. public:
  24. CIvrFlow(int FlowId);
  25. ~CIvrFlow(void);
  26. void resetFlow(); // IVR流程重置
  27. int assoLineId() const { return m_LineId; } // 获取绑定的线路ID
  28. int& assoLineId() { return m_LineId; }
  29. void procLineHangUp(); // 处理线路挂机
  30. void onPduMessage(CPduEntity &PduEntity); // Pdu命令处理接口
  31. private:
  32. void __transmitToTask(CPduEntity &PduEntity); // 转发Task处理命令
  33. void __procCallInReturn(CPduEntity &PduEntity); // CallIn命令返回
  34. void __procTurnIvrReturn(CPduEntity &PduEntity); // 转Ivr命令返回
  35. void __procWantAgent(CPduEntity &PduEntity); // 请求排队命令
  36. void __procContinueQuene(CPduEntity &PduEntity); // 继续排队命令
  37. void __procCancelQuene(CPduEntity &PduEntity); // 取消排队
  38. private:
  39. int m_IvrFlowId; // IvrFlow号码
  40. int m_LineId; // 关联线路Id
  41. bool m_IsQuene; // 是否外线排队
  42. };