| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- /*************************************************************************
- 【文件名】 AgentList.h
- 【功能模块和目的】 通道显示列表类头文件
- 【开发者及日期】 郑石诺 2015/03/11
- 【版本】 V1.0.0
- 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
- 【更改记录】
- *************************************************************************/
- #pragma once
- class CAgent;
- /*************************************************************************
- 【类名】 CAgentList
- 【功能】
- 【接口说明】 通道显示列表类
- 【开发者及日期】 郑石诺 2015/03/11
- 【版本】 V1.0.0
- 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司
- 【更改记录】
- *************************************************************************/
- class CAgentlList : public CListCtrl
- {
- DECLARE_DYNAMIC(CAgentlList)
- public:
- CAgentlList();
- virtual ~CAgentlList();
- void format(void);
- void onAgentStateUpdated(UINT AgentNo);
- void onAgentLogout(UINT AgentNo);
- protected:
- DECLARE_MESSAGE_MAP()
- private:
- int __indexItem(UINT _itemNum);
- void __showAgent(Agent2Show& Info);
- void __updateAgentlState(int Item, Agent2Show& Info);
- void __transStateAgentState(AGENT_STATE _state, CString& Data);
- void __transStateAgentType(AGENT_TYPE _type, CString& Data);
- };
|