#if !defined(AFX_APPDATACEIPCURVEDLG_H__2362BEB4_EBBE_4F7C_90AC_9BFE496D3970__INCLUDED_) #define AFX_APPDATACEIPCURVEDLG_H__2362BEB4_EBBE_4F7C_90AC_9BFE496D3970__INCLUDED_ #include "TestingData.h" #include "AppDataCEIpCurveGraphView.h" #include "ModifyIpCurveDlg.h" #include "EasySize.h" #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // AppDataCEIpCurveDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CAppDataCEIpCurveDlg dialog class CAppDataCEIpCurveDlg : public CDialog { DECLARE_EASYSIZE // Construction public: CAppDataCEIpCurveDlg(CTestingData *const pIpsptd, CWnd* pParent = NULL); // standard constructor void GetTimeWindow(std::vector& vtTWInfo); // CAppDataCEIpCurveDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CAppDataCEIpCurveDlg) enum { IDD = IDD_IP_CE_CURVE }; CListCtrl m_TimeWindow; CListCtrl m_DataList; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CAppDataCEIpCurveDlg) public: virtual BOOL PreTranslateMessage(MSG* pMsg); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CAppDataCEIpCurveDlg) virtual BOOL OnInitDialog(); afx_msg void OnClickCeDataList(NMHDR* pNMHDR, LRESULT* pResult); virtual void OnOK(); afx_msg void OnModify(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnSizing(UINT fwSide, LPRECT pRect); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: void CreateCEIpCurveGraphView(); CTestingData *m_pCEtd; double m_dPeriod; //界面用到的变量 CRect m_rectClient; DWORD m_dwCurTSN; public: CAppDataCEIpCurveGraphView* m_pGraph; CStringArray m_saOrgData; float m_fMaxAbsV; private: }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_APPDATACEIPCURVEDLG_H__2362BEB4_EBBE_4F7C_90AC_9BFE496D3970__INCLUDED_)