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

📄 historydata.h

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

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HistoryData.h : header file
//

#include "Global.h"
#include "DataType.h"
/////////////////////////////////////////////////////////////////////////////
// CHistoryData window

class CHistoryData : public CWnd
{
// Construction
public:
	CHistoryData();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHistoryData)
	//}}AFX_VIRTUAL

// Implementation
public:
	void  CreateHistoryPath();
    int   CreateFilePath(char *nFile);
	void  ReadFileHistData();
	short GetCode(char *pCode,short nAdd,short nCh);
	void  GetAddChByCode(char *pCode,short *nAdd,short *nCh);
	void DrawCurveMenu(CDC *pDC,CWnd *pWnd,CRect nRect,CButton *pButton,DWORD *pButtonID);
	void GetProjSignalUnit(short nNo,CString *nStr);
	void GetName(short nNo,CString *nStr);
	BOOL InTimeRange(time_t nTime,time_t nCenterTime,short nRange);
    short GetCurHistData(short nNo, float *nCurAnaval, long *nTime);
	void DestoryData();
	void InitData();
//	CCriticalSection m_nFileCritSect;
	//CCriticalSection m_nPosCritSect;
	short GetDataOrderTime(short nNo,long nTime,float *nAnaval);
	short GetMemoryHistAnaval(short nNo, float *nAnavalArray, time_t *nTimeArray, short *nCount);
    short GetHistDataArray(short nNo, short nTimeInterval,short nSum,float *pCurAnaval,time_t *pTime);
	void  SaveHistData();
	void IncrementHistData();
	virtual ~CHistoryData();

	// Generated message map functions
protected:
	//{{AFX_MSG(CHistoryData)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_HISTORYDATA_H__36B08B01_EC52_11D4_A0AC_E72361171C27__INCLUDED_)

⌨️ 快捷键说明

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