www.pudn.com > RADAR-ALARM.rar > RadarViewDlg.h, change:2011-08-08,size:2812b


// RadarViewDlg.h : 头文件 
// 
 
 
#pragma once 
#include"RadarGraph.h" 
#include"ReadRadarBaseData.h" 
#include "parinfograph.h" 
#include "afxwin.h" 
#include "alertlight.h" 
 
// CRadarViewDlg 对话框 
class CRadarViewDlg : public CDialog 
{ 
// 构造 
public: 
	CRadarViewDlg(CWnd* pParent = NULL);	// 标准构造函数 
 
// 对话框数据 
	enum { IDD = IDD_RADARVIEW_DIALOG }; 
 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV 支持 
 
 
// 实现 
protected: 
	HICON m_hIcon; 
 
	// 生成的消息映射函数 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	DECLARE_MESSAGE_MAP() 
 
	 
public: 
	CRadarGraph m_graph1; 
	 
	afx_msg void OnBnClickedButton1(); 
	CReadRadarBaseData m_Data; 
	void InitCtrlPos(void); 
	CRadarGraph m_graph2; 
 
	CParInfoGraph m_InfoGraph1; 
	CParInfoGraph m_InfoGraph2; 
	void OnOpenFile(CString filename); 
	// 显示的仰角序号 
	int m_ShowElIndex; 
	afx_msg void On32772(); 
	afx_msg void On32774(); 
	bool PlayAlertSound(void); 
	 
	// 预警用连续库数阈值 
	int RBinNum; 
	// 报警用连续角度阈值 
	int RAziNum; 
	// 预警距离 
	int RRange; 
	// 强度场0.5度识别阈值 
	int R05ValueThreshold; 
	int R05SingleAreaThreshold; 
	int R05TotalAreaThreshold; 
	int R15ValueThreshold; 
	int R15SingleAreaThreshold; 
	int R15TotalAreaThreshold; 
 
	// 预警用连续库数阈值 
	int VBinNum; 
	// 报警用连续角度阈值 
	int VAziNum; 
	// 预警距离 
	int VRange; 
	// 强度场0.5度识别阈值 
	int V05ValueThreshold; 
	int V05SingleAreaThreshold; 
	int V05TotalAreaThreshold; 
	int V15ValueThreshold; 
	int V15SingleAreaThreshold; 
	int V15TotalAreaThreshold; 
	void ReadAlertPram(void); 
	CListBox m_RAlertList; 
	CListBox m_VAlertList; 
	bool AlertR05(CString filename); 
	bool AlertR15(CString filename); 
	bool AlertV05(CString filename); 
	bool AlertV15(CString filename); 
	void WriteSigleAlert(float El,int StartAzi,int EndAzi,int StartBin,int EndBin,int Area,int Threshold,int type,CString filename); 
	void WriteTotalAlert(float El,int TotalArea ,int Threshold,int type,CString filename); 
	CStatic m_ShowR05TotalAreaString; 
	CStatic m_ShowV05TotalAreaString; 
	CStatic m_ShowR15TotalAreaString; 
	CStatic m_ShowV15TotalAreaString; 
	CAlertLight m_RLight; 
	CAlertLight m_VLight; 
	afx_msg void OnBnClickedButton2(); 
	afx_msg void OnBnClickedRadio1(); 
	afx_msg void OnBnClickedRadio2(); 
	CButton m_ElStatus1; 
	afx_msg void OnBnClickedButton3(); 
	// 从名字算朱诺日 
	int GetJulianDateFromName(CString filename); 
	afx_msg void OnBnClickedButton4(); 
	// 上一个处理文件的名称 
	CString m_LastProcessFileName; 
	int m_LastFileIndex; 
	bool DistinguishNewFile(CString filename); 
	afx_msg void On32775(); 
	afx_msg void OnTimer(UINT_PTR nIDEvent); 
	CString m_ProcessFoldername; 
};