www.pudn.com > RMS2000_C.rar > DrawCli.h


// DrawCli.h : main header file for the DRAWCLI application 
// 
 
#if !defined(AFX_DRAWCLI_H__D8C91276_DF05_4257_A506_C1232A8E8595__INCLUDED_) 
#define AFX_DRAWCLI_H__D8C91276_DF05_4257_A506_C1232A8E8595__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#ifndef __AFXWIN_H__ 
	#error include 'stdafx.h' before including this file for PCH 
#endif 
 
#include "resource.h"       // main symbols 
#include        // drawcli uses collection class templates 
 
///////////////////////////////////////////////////////////////////////////// 
// CDrawApp: 
// See DrawCli.cpp for the implementation of this class 
// 
 
class CDrawApp : public CWinApp 
{ 
public: 
	CDrawApp(); 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDrawApp) 
	public: 
	virtual BOOL InitInstance(); 
	virtual int ExitInstance(); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	void InitSta(); 
	RmsGlo m_QJCS; 
	RmsSta m_FZCS; 
	BOOL	GetGloParam(RmsGlo *pQJCS); 
	BOOL	PutGloParam(RmsGlo *pQJCS); 
	BOOL	GetStaParam(int RtuNum,RmsSta *pFZCS); 
	BOOL	PutStaParam(int RtuNum,RmsSta *pFZCS); 
 
	//{{AFX_MSG(CDrawApp) 
	afx_msg void OnAppAbout(); 
	afx_msg void OnRealtimeTab(); 
	afx_msg void OnRealtimeCurve(); 
	afx_msg void OnHistoryCurve(); 
	afx_msg void OnGlobalPara(); 
	afx_msg void OnStationPara(); 
	afx_msg void OnModiPassword(); 
	afx_msg void OnChaData(); 
	afx_msg void OnFindData(); 
	afx_msg void OnWarnData(); 
	afx_msg void OnCalendar(); 
	afx_msg void OnRegOcx(); 
	afx_msg void OnSplitFile(); 
	afx_msg void OnCalculator(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
private: 
	HANDLE	m_hOneInstance; 
	CMultiDocTemplate* pCurDocTemplate; 
	CMultiDocTemplate* pRealDocTemplate; 
	CMultiDocTemplate* pRTDocTemplate; 
	CMultiDocTemplate* pTabDocTemplate; 
	CMultiDocTemplate* pChaDocTemplate; 
	CMultiDocTemplate* pFindDocTemplate; 
	CMultiDocTemplate* pWarnDocTemplate; 
 
protected: 
	void SetupODBCSource(); 
}; 
 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DRAWCLI_H__D8C91276_DF05_4257_A506_C1232A8E8595__INCLUDED_)