WorkStatusPage.h
上传用户:zhuzhu0204
上传日期:2020-07-13
资源大小:13165k
文件大小:2k
- #if !defined(AFX_WORKSTATUSPAGE_H__BE609DDF_A6AB_4FD5_A420_9E17FB9CC063__INCLUDED_)
- #define AFX_WORKSTATUSPAGE_H__BE609DDF_A6AB_4FD5_A420_9E17FB9CC063__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // WorkStatusPage.h : header file
- //
- #define MAX_COUNTS 100
- /////////////////////////////////////////////////////////////////////////////
- // CWorkStatusPage dialog
- class CWorkStatusPage : public CPropertyPage
- {
- DECLARE_DYNCREATE(CWorkStatusPage)
- // Construction
- public:
- int m_nSelected;
- int m_nSendFlowRate[MAX_COUNTS]; // 存放发送流速,用于显示
- int m_nRecvFlowRate[MAX_COUNTS]; // 存放接收流速,用于显示
- int m_nTotalFlowRate[MAX_COUNTS]; // 存放总流速,用于显示
- void UpdateWorkMode();
- void CWorkStatusPage::DrawFlowGraph();
- CWorkStatusPage();
- ~CWorkStatusPage();
- // Dialog Data
- //{{AFX_DATA(CWorkStatusPage)
- enum { IDD = IDP_WORK_STATUS };
- // NOTE - ClassWizard will add data members here.
- // DO NOT EDIT what you see in these blocks of generated code !
- //}}AFX_DATA
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CWorkStatusPage)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CWorkStatusPage)
- virtual BOOL OnInitDialog();
- afx_msg void OnModifyLspMode();
- afx_msg void OnMenuDenyMode();
- afx_msg void OnMenuFilterMode();
- afx_msg void OnMenuPassMode();
- afx_msg void OnModifyKerMode();
- afx_msg void OnPaint();
- afx_msg void OnTimer(UINT nIDEvent);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_WORKSTATUSPAGE_H__BE609DDF_A6AB_4FD5_A420_9E17FB9CC063__INCLUDED_)