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

📄 vtdecodeview.h

📁 利用intel dsplib 库函数进行特定2FSK信号(需传导频)解调
💻 H
字号:
// VTDecodeView.h : interface of the CVTDecodeView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_VTDECODEVIEW_H__EFF78739_C24F_4851_96AB_221FA4CFF24F__INCLUDED_)
#define AFX_VTDECODEVIEW_H__EFF78739_C24F_4851_96AB_221FA4CFF24F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "AD1Dlg.h"
#include "AD2Dlg.h"
#include "SignalProcess.h"
#include "process.h"
#include "time.h"
#define MSIZE 1024*2

class CVTDecodeView : public CFormView
{
protected: // create from serialization only
	CVTDecodeView();
	DECLARE_DYNCREATE(CVTDecodeView)

public:
	//{{AFX_DATA(CVTDecodeView)
	enum { IDD = IDD_VTDECODE_FORM };
	CEdit	m_ctlEdit;
	CButton	m_ctlButton5270;
	CString	m_strText;
	CString	m_strRawData;
	//}}AFX_DATA

// Attributes
private:
	CSignalProcess csps;
	char m_strFileName[60],m_strFileName1[60];
	CTime m_Time;
	CFile m_File,m_File1;
	BOOL m_bFilterInitManual;
	CString strMess,strMess1,strTemp;
	CFileException e;
	
public:
	CVTDecodeDoc* GetDocument();
    inline void InsertChar(CString ch);

// Operations
public:
	BOOL m_bStart,m_bStop,m_bCon,m_bVan,m_bAd1,m_bAd2;
	WAVEFORMATEX waveform;
	HWAVEIN hWaveIn;
	HANDLE hData1,hData2,hDataBuff;
	PWAVEHDR pWaveHdr1,pWaveHdr2;
	PBYTE pBuffer1,pBuffer2,pDataBuff;
	short *wavedata,temp1[32],temp2[32];
	int i,j,k,m,n,m_nAdjust,m_nBuffSet,m_nCount32,m_nCount3,iFilterChoose;
	CString datawrite;

protected:
	CAD1Dlg ad1Dlg;
	CAD2Dlg ad2Dlg;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CVTDecodeView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual void OnDraw(CDC* pDC);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CVTDecodeView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CVTDecodeView)
	afx_msg void OnAd1Button();
	afx_msg void OnAd2Button();
	afx_msg void OnUpdateStart(CCmdUI* pCmdUI);
	afx_msg void OnStart();
	afx_msg void OnStop();
	afx_msg void OnMM_WIM_OPEN(UINT wParam,LONG lParam);
	afx_msg void OnMM_WIM_DATA(UINT wParam,LONG lParam);
	afx_msg void OnMM_WIM_CLOSE(UINT wParam,LONG lParam);
	afx_msg void OnSave();
	afx_msg void OnDestroy();
	afx_msg void OnUpdateStop(CCmdUI* pCmdUI);
	afx_msg void OnSave1();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in VTDecodeView.cpp
inline CVTDecodeDoc* CVTDecodeView::GetDocument()
   { return (CVTDecodeDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_VTDECODEVIEW_H__EFF78739_C24F_4851_96AB_221FA4CFF24F__INCLUDED_)

⌨️ 快捷键说明

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