/************************************************************************* 【文件名】 LineTrunk.h 【功能模块和目的】 数字中继线上层代理类头文件 【开发者及日期】 郑石诺 2015/03/24 【版本】 V1.0.0 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司 【更改记录】 *************************************************************************/ #pragma once #include "VirtualProxy.h" /************************************************************************* 【类名】 CLineTrunk 【功能】 【接口说明】 数字中继线上层代理类 【开发者及日期】 郑石诺 2015/03/24 【版本】 V1.0.0 【版权信息】 Copyright (C)2015 河南华谊网络科技有限公司 【更改记录】 *************************************************************************/ class CProxyDti : public CVirtualProxy { public: CProxyDti(CProxyShell* pParent, CRDRID DevId); virtual ~CProxyDti(void); //////////////////////////////////////////////////////////////////////////////// //继承自CVirtualProxy UINT lineId(void) const { return m_DevId.toIntId(); } DEV_RES_TYPE type(void) const { return DEV_RES_TYPE_TRUNK; } void notifyLineInfo(void) const; void notifyLineInfo(PDU_DEV_TYPE DestType, int DestId) const; protected: //////////////////////////////////////////////////////////////////////////////// //继承自CVirtualLine void _procLineState(long Call, long SubCall, VIRTUAL_LINE_STATE State, LPCTSTR lpCallerNum, LPCTSTR lpCalleeNum); void _notifyLineState(void); private: // 私有成员 UINT __transVirtualState2OuterState(VIRTUAL_LINE_STATE State) const; // 映设代理线路状态到外部识别的状态 };