📄 cstatst32.h
字号:
// cstatst32.h : main header file for the CSTATST32 application
//
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#include "acs.h"
#include "csta.h"
//#include "recevent.h"
//#include "AlcPrivV2.h"
typedef void (FAR pascal *myESR) (unsigned long esrParam);
#define WM_ACSEVENT 500
class CPhone;
class CMainWind;
class CMainDialog;
class CCessionDlg;
class CDevice;
/////////////////////////////////////////////////////////////////////////////
// CCstatst32App:
// See cstatst32.cpp for the implementation of this class
//
class CCstatst32App : public CWinApp
{
public:
CCstatst32App();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCstatst32App)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CCstatst32App)
afx_msg void OnAbout();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// Attributes
public:
BOOL m_bCessionOn;
BOOL m_bPhoneOn;
CCessionDlg *m_pCessionDlg;
CPhone *m_pPhone;
CMainDialog *m_pMainDialog;
CMainWind *m_pMainWindow;
StreamType_t my_streamType;
/*DWORD beginTime;
DWORD endTime;
DWORD diffTime;*/
};
/////////////////////////////////////////////////////////////////////////////
// VB-Event extern declarations
//{{AFX_VBX_REGISTER()
//}}AFX_VBX_REGISTER
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// CMainWind frame
class CMonitorStartDlg;
class CMainWind : public CFrameWnd
{
DECLARE_DYNCREATE(CMainWind)
void SetMyDeviceID (CString StrDeviceID);
void SetHeldCallID (long callID);
void SetMainCallID (long callID);
void ClearCallID (long callID);
public:
CMainWind(); // protected constructor used by dynamic creation
// Attributes
public:
// Operations
public:
// Implementation
public:
virtual ~CMainWind();
CListBox *m_pEventList;
BOOL m_bEventListOn;
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMainWind)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg LRESULT OnServiceRoutine(WPARAM wParam, LPARAM lParam);
afx_msg void OnConnectserver();
afx_msg void OnDisconnectserver();
afx_msg void OnSessionExit();
afx_msg void OnMonitordevice();
afx_msg void OnStopmonitordevice();
afx_msg void OnMakecall();
afx_msg void OnClearcall();
afx_msg void OnClearconnection();
afx_msg void OnConsultationcall();
afx_msg void OnReconnectcall();
afx_msg void OnTransfertcall();
afx_msg void OnHoldcall();
afx_msg void OnRetrievecall();
afx_msg void OnSetagentstate();
afx_msg void OnMessagewaiting();
afx_msg void OnForwarding();
afx_msg void OnDonotdisturb();
afx_msg void OnAnswercall();
afx_msg void OnAbortstream();
afx_msg void OnGetapicaps();
afx_msg void OnQuerycallmonitor();
afx_msg void OnQueryAgentstate();
afx_msg void OnQueryDeviceinfo();
afx_msg void OnQueryDonotdisturb();
afx_msg void OnQueryForwarding();
afx_msg void OnQueryLastnumber();
afx_msg void OnQueryMessagewaiting();
afx_msg void OnChangefilter();
afx_msg void OnPrivatedata();
afx_msg void OnUpdatePrivatedata(CCmdUI* pCmdUI);
afx_msg void OnSetprivatedata();
afx_msg void OnEscapeserviceconf();
afx_msg void OnEscapeservice();
afx_msg void OnSendprivateevent();
afx_msg void OnSendsystemstatusevent();
afx_msg void OnSystemstatusconfirmation();
afx_msg void OnSystemstatusrequest();
afx_msg void OnSystemstatusstart();
afx_msg void OnSystemstatusstop();
afx_msg void OnSystemstatuschangefilter();
afx_msg void OnClearscreen();
afx_msg void OnUpdateDisconnectserver(CCmdUI* pCmdUI);
afx_msg void OnUpdateAbortstream(CCmdUI* pCmdUI);
afx_msg void OnUpdateMonitordevice(CCmdUI* pCmdUI);
afx_msg void OnUpdateChangefilter(CCmdUI* pCmdUI);
afx_msg void OnUpdateStopmonitordevice(CCmdUI* pCmdUI);
afx_msg void OnUpdateConnectserver(CCmdUI* pCmdUI);
afx_msg void OnUpdateAnswercall(CCmdUI* pCmdUI);
afx_msg void OnUpdateMakecall(CCmdUI* pCmdUI);
afx_msg void OnUpdateClearcall(CCmdUI* pCmdUI);
afx_msg void OnUpdateClearconnection(CCmdUI* pCmdUI);
afx_msg void OnUpdateHoldcall(CCmdUI* pCmdUI);
afx_msg void OnUpdateRetrievecall(CCmdUI* pCmdUI);
afx_msg void OnUpdateReconnectcall(CCmdUI* pCmdUI);
afx_msg void OnUpdateTransfertcall(CCmdUI* pCmdUI);
afx_msg void OnUpdateConsultationcall(CCmdUI* pCmdUI);
afx_msg void OnUpdateGetapicaps(CCmdUI* pCmdUI);
afx_msg void OnUpdateQuerycallmonitor(CCmdUI* pCmdUI);
afx_msg void OnUpdateEscapeservice(CCmdUI* pCmdUI);
afx_msg void OnUpdateEscapeserviceconf(CCmdUI* pCmdUI);
afx_msg void OnUpdateSendprivateevent(CCmdUI* pCmdUI);
afx_msg void OnUpdateSystemstatusrequest(CCmdUI* pCmdUI);
afx_msg void OnUpdateSystemstatusstart(CCmdUI* pCmdUI);
afx_msg void OnUpdateSystemstatusstop(CCmdUI* pCmdUI);
afx_msg void OnUpdateSystemstatuschangefilter(CCmdUI* pCmdUI);
afx_msg void OnUpdateSystemstatusconfirmation(CCmdUI* pCmdUI);
afx_msg void OnUpdateSendsystemstatusevent(CCmdUI* pCmdUI);
afx_msg void OnUpdateMessagewaiting(CCmdUI* pCmdUI);
afx_msg void OnUpdateDonotdisturb(CCmdUI* pCmdUI);
afx_msg void OnUpdateForwarding(CCmdUI* pCmdUI);
afx_msg void OnUpdateSetagentstate(CCmdUI* pCmdUI);
afx_msg void OnUpdateQueryMessagewaiting(CCmdUI* pCmdUI);
afx_msg void OnUpdateQueryDonotdisturb(CCmdUI* pCmdUI);
afx_msg void OnUpdateQueryForwarding(CCmdUI* pCmdUI);
afx_msg void OnUpdateQueryAgentstate(CCmdUI* pCmdUI);
afx_msg void OnUpdateQueryLastnumber(CCmdUI* pCmdUI);
afx_msg void OnUpdateQueryDeviceinfo(CCmdUI* pCmdUI);
afx_msg void OnAlternatecall();
afx_msg void OnUpdateAlternatecall(CCmdUI* pCmdUI);
afx_msg void OnCallcompletion();
afx_msg void OnUpdateCallcompletion(CCmdUI* pCmdUI);
afx_msg void OnConferencecall();
afx_msg void OnUpdateConferencecall(CCmdUI* pCmdUI);
afx_msg void OnDestroy();
afx_msg void OnDeflectcall();
afx_msg void OnUpdateDeflectcall(CCmdUI* pCmdUI);
afx_msg void OnGroupPickupCall();
afx_msg void OnUpdateGroupPickupCall(CCmdUI* pCmdUI);
afx_msg void OnMakePredictiveCall();
afx_msg void OnUpdateMakePredictiveCall(CCmdUI* pCmdUI);
afx_msg void OnPickupCall();
afx_msg void OnUpdatePickupCall(CCmdUI* pCmdUI);
afx_msg void OnEnableEventsFile();
afx_msg void OnUpdateEnableEventsFile(CCmdUI* pCmdUI);
afx_msg void OnClearEventsFile();
afx_msg LRESULT AcsGetEventBlock (WPARAM wParam, LPARAM lParam);
afx_msg void OnGetDeviceList();
afx_msg void OnUpdateGetDeviceList(CCmdUI* pCmdUI);
afx_msg void OnSnapshotCall();
afx_msg void OnUpdateSnapshotCall(CCmdUI* pCmdUI);
afx_msg void OnSnapshotDevice();
afx_msg void OnUpdateSnapshotDevice(CCmdUI* pCmdUI);
afx_msg void OnMonitorCall();
afx_msg void OnUpdateMonitorCall(CCmdUI* pCmdUI);
afx_msg void OnMonitorCallViaDevice();
afx_msg void OnUpdateMonitorCallViaDevice(CCmdUI* pCmdUI);
afx_msg void OnRouteselect();
afx_msg void OnUpdateRouteselect(CCmdUI* pCmdUI);
afx_msg void OnRouteend();
afx_msg void OnUpdateRouteend(CCmdUI* pCmdUI);
afx_msg void OnRouteregister();
afx_msg void OnUpdateRouteregister(CCmdUI* pCmdUI);
afx_msg void OnRouteregistercancel();
afx_msg void OnUpdateRouteregistercancel(CCmdUI* pCmdUI);
afx_msg void OnSendDTMFTones();
afx_msg void OnUpdateSendDTMFTones(CCmdUI* pCmdUI);
afx_msg void OnSingleStepConference();
afx_msg void OnUpdateSingleStepConference(CCmdUI* pCmdUI);
afx_msg void OnStop();
afx_msg void OnUpdateStop(CCmdUI* pCmdUI);
afx_msg void OnRecordMessage();
afx_msg void OnUpdateRecordMessage(CCmdUI* pCmdUI);
afx_msg void OnConsultationCallV2();
afx_msg void OnUpdateConsultationCallV2(CCmdUI* pCmdUI);
afx_msg void OnEscapeserviceint();
afx_msg void OnUpdateEscapeserviceint(CCmdUI* pCmdUI);
afx_msg void OnEscapesetdeviceinservice();
afx_msg void OnUpdateEscapesetdeviceinservice(CCmdUI* pCmdUI);
afx_msg void OnAssociatedata();
afx_msg void OnUpdateAssociatedata(CCmdUI* pCmdUI);
afx_msg void OnEscapehostinformation();
afx_msg void OnUpdateEscapehostinformation(CCmdUI* pCmdUI);
afx_msg void OnSuperAssistRequest();
afx_msg void OnUpdateSuperAssistRequest(CCmdUI* pCmdUI);
afx_msg void OnSuperAssistCancel();
afx_msg void OnUpdateSuperAssistCancel(CCmdUI* pCmdUI);
afx_msg void OnAutoKeepAlive();
afx_msg void OnUpdateAutoKeepAlive(CCmdUI* pCmdUI);
afx_msg void OnEscapeOtherOperation();
afx_msg void OnUpdateEscapeOtherOperation(CCmdUI* pCmdUI);
afx_msg void OnServiceRegisterRequest();
afx_msg void OnUpdateServiceRegisterRequest(CCmdUI* pCmdUI);
afx_msg void OnServiceRegisterCancel();
afx_msg void OnUpdateServiceRegisterCancel(CCmdUI* pCmdUI);
afx_msg void OnSetDate();
afx_msg void OnUpdateSetDate(CCmdUI* pCmdUI);
afx_msg void OnStartListening();
afx_msg void OnUpdateStartListening(CCmdUI* pCmdUI);
afx_msg void OnStopListening();
afx_msg void OnUpdateStopListening(CCmdUI* pCmdUI);
afx_msg void OnBipTone();
afx_msg void OnUpdateBipTone(CCmdUI* pCmdUI);
afx_msg void OnCctreatmentRequest();
afx_msg void OnUpdateCctreatmentRequest(CCmdUI* pCmdUI);
afx_msg void OnPermanentListening();
afx_msg void OnUpdatePermanentListening(CCmdUI* pCmdUI);
afx_msg void OnParkcall();
afx_msg void OnUpdateParkcall(CCmdUI* pCmdUI);
afx_msg void OnGeneratetone();
afx_msg void OnUpdateGeneratetone(CCmdUI* pCmdUI);
afx_msg void OnCanceltone();
afx_msg void OnUpdateCanceltone(CCmdUI* pCmdUI);
afx_msg void OnStartdatacoll();
afx_msg void OnUpdateStartdatacoll(CCmdUI* pCmdUI);
afx_msg void OnStopdatacoll();
afx_msg void OnUpdateStopdatacoll(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// Attributes
private:
UINT my_setTimer;
UINT my_periodicTimer;
UINT my_reconnectTimer;
public:
int m_nbServer;
CObList m_lServer;
CString m_sServerName;
CString m_sLoginName;
CString m_sPassword;
CString m_sProgName;
CString m_sApiVer;
Level_t m_nACSLevel;
//added JYL
CString heldCallID;
CString mainCallID;
//end of addition
CString myDeviceId;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -