⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 curvehistorydlg.h

📁 远程视频监控系统最新程序代码
💻 H
字号:
#if !defined(AFX_CURVEHISTORYDLG_H__DE5E6081_2905_11D5_A0AD_F7E30EB2732C__INCLUDED_)
#define AFX_CURVEHISTORYDLG_H__DE5E6081_2905_11D5_A0AD_F7E30EB2732C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CurveHistoryDlg.h : header file
//
#include  "CurveHistFlow.h"
#include  "Global.h"
#include  "DataType.h"


/////////////////////////////////////////////////////////////////////////////
// CCurveHistoryDlg dialog

class CCurveHistoryDlg : public CDialog
{
// Construction
public:
	int  m_nOldTimeLen;
	void ReDraw();
	CCurveHistoryDlg(CWnd* pParent = NULL);   // standard constructor
    CCurveHistFlow  m_nCurveHistFlow;
	short            m_nCurGroupNo;
	void InitCurveFlow();
	void ResetCurveFlow(short nGroupNo);
	void InitData();
    void InitCtrl();
    DWORD m_nButtonID[MAX_CURVE_NUMPERGROUP],m_nStaticID[MAX_CURVE_NUMPERGROUP];
	float m_nCurDown[MAX_CURVE_GROUP][MAX_CURVE_NUMPERGROUP],m_nCurUpper[MAX_CURVE_GROUP][MAX_CURVE_NUMPERGROUP];
	BOOL  m_bFirstSetCtrl;
	void ResetCtrl(short nGroupNo);
	CString* m_nNameArray[MAX_CURVE_NUMPERGROUP];
	CString* m_nCurAnavalArray[MAX_CURVE_NUMPERGROUP];
	CString* m_nDownArray[MAX_CURVE_NUMPERGROUP];
	CString* m_nUpperArray[MAX_CURVE_NUMPERGROUP];
	long     m_nBeginTime,m_nEndTime;
	time_t   *m_pCurveTime[MAX_CURVE_NUMPERGROUP];
	float    *m_pCurveAnaval[MAX_CURVE_NUMPERGROUP];
    short    m_nCurHistCount[MAX_CURVE_NUMPERGROUP];
// Dialog Data
	//{{AFX_DATA(CCurveHistoryDlg)
	enum { IDD = IDD_DIALOG_CURVEHISTORY };
	CEdit	m_nEditTimeMinute;
	CSpinButtonCtrl	m_nSpinTimeMinute;
	CEdit	m_nEditTimeLen;
	CSpinButtonCtrl	m_nSpinTimeLen;
	CSpinButtonCtrl	m_nSpinUpper4;
	CSpinButtonCtrl	m_nSpinUpper3;
	CSpinButtonCtrl	m_nSpinUpper2;
	CSpinButtonCtrl	m_nSpinUpper1;
	CSpinButtonCtrl	m_nSpinDown4;
	CSpinButtonCtrl	m_nSpinDown3;
	CSpinButtonCtrl	m_nSpinDown2;
	CSpinButtonCtrl	m_nSpinDown1;
	CListBox	m_nList;
	CString	m_nAnavalHist1;
	CString	m_nAnavalHist2;
	CString	m_nAnavalHist3;
	CString	m_nAnavalHist4;
	CString	m_nDownHist1;
	CString	m_nDownHist2;
	CString	m_nDownHist3;
	CString	m_nDownHist4;
	CString	m_nNameHist1;
	CString	m_nNameHist2;
	CString	m_nNameHist3;
	CString	m_nNameHist4;
	CString	m_nUpperHist1;
	CString	m_nUpperHist2;
	CString	m_nUpperHist3;
	CString	m_nUpperHist4;
	CString	m_nStaticCurTime;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCurveHistoryDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCurveHistoryDlg)
	virtual BOOL OnInitDialog();
    afx_msg LRESULT OnCurveFlowSplitXChange(WPARAM wParam,LPARAM lParam);
	afx_msg LRESULT OnCurveFlowForwardMove(WPARAM wParam,LPARAM lParam);
    afx_msg LRESULT OnCurveFlowBackMove(WPARAM wParam,LPARAM lParam);
	afx_msg void OnButton1();
	afx_msg void OnButtonExitHist();
	afx_msg void OnButtonPrintHist();
	afx_msg void OnButtonApplyhist();
	afx_msg void OnPaint();
	afx_msg void OnSelchangeList2();
	afx_msg void OnButtonBegindate();
	afx_msg void OnDestroy();
	afx_msg void OnDeltaposSPINDown1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposSPINDown2(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposSPINDown3(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposSPINDown4(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposSPINUpper1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposSPINUpper2(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposSPINUpper3(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposSPINUpper4(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposSpintimelen(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeltaposSpintimelen2(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CURVEHISTORYDLG_H__DE5E6081_2905_11D5_A0AD_F7E30EB2732C__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -