RshDlg.h
上传用户:hbytqc8
上传日期:2014-07-31
资源大小:527k
文件大小:2k
- // RshDlg.h : header file
- //
- #if !defined(AFX_RSHDLG_H__1C92CA15_1112_483C_B89A_2F428BB24400__INCLUDED_)
- #define AFX_RSHDLG_H__1C92CA15_1112_483C_B89A_2F428BB24400__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "LineChart.h"
- #include "MyStringArray.h"
- #include "AfxTempl.h"
- /////////////////////////////////////////////////////////////////////////////
- // CRshDlg dialog
- class CRshDlg : public CDialog
- {
- // Construction
- public:
- CRshDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CRshDlg)
- enum { IDD = IDD_RSH_DIALOG };
- CComboBox m_oid1;
- CComboBox m_type;
- CComboBox m_oid2;
- CEdit m_interval;
- CEdit m_community;
- CIPAddressCtrl m_ipadd;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CRshDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- MyStringArray m_snmp;
- CLineChart *pDay;
- CString ip,community,oid1,oid2;
- CMapStringToString NameToOid;
- CStdioFile DataFile;
- CString fName;
- unsigned long interval;
- // Generated message map functions
- //{{AFX_MSG(CRshDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnScan();
- afx_msg void OnDestroy();
- afx_msg void OnOK();
- afx_msg void OnStart();
- afx_msg void OnEnd();
- 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_RSHDLG_H__1C92CA15_1112_483C_B89A_2F428BB24400__INCLUDED_)