• 大小: 70KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-08
  • 语言: 其他
  • 标签: 50HZ  数字  滤波  

资源简介

50HZ陷波器的C程序源码.适合于开发ECG时候作为工频数字滤波器使用。

资源截图

代码片段和文件信息

// Filter.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “Filter.h“
#include “FilterDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CFilterApp

BEGIN_MESSAGE_MAP(CFilterApp CWinApp)
//{{AFX_MSG_MAP(CFilterApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFilterApp construction

CFilterApp::CFilterApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CFilterApp object

CFilterApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CFilterApp initialization

BOOL CFilterApp::InitInstance()
{
AfxEnableControlContainer();

// Standard initialization
// If you are not using these features and wish to reduce the size
//  of your final executable you should remove from the following
//  the specific initialization routines you do not need.

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

CFilterDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
//  dismissed with Cancel
}

// Since the dialog has been closed return FALSE so that we exit the
//  application rather than start the application‘s message pump.
return FALSE;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2011-04-16 23:09  50HZFITER\
     文件        3948  1999-12-30 16:26  50HZFITER\calculate.h
     文件       35796  1999-12-30 16:55  50HZFITER\Filter.aps
     文件        1676  2000-01-02 10:38  50HZFITER\Filter.clw
     文件        2063  1999-12-28 15:05  50HZFITER\Filter.cpp
     文件        4290  1999-12-29 21:23  50HZFITER\Filter.dsp
     文件         537  1999-12-28 16:19  50HZFITER\Filter.dsw
     文件        1332  1999-12-28 15:05  50HZFITER\Filter.h
     文件      394240  2000-02-26 15:09  50HZFITER\Filter.ncb
     文件       49664  2000-02-26 15:09  50HZFITER\Filter.opt
     文件        2252  2000-01-02 10:39  50HZFITER\Filter.plg
     文件        6446  1999-12-30 16:55  50HZFITER\Filter.rc
     文件       13587  2000-01-02 10:35  50HZFITER\FilterDlg(old).cpp
     文件       12246  2000-01-02 10:38  50HZFITER\FilterDlg.cpp
     文件        1939  1999-12-30 16:06  50HZFITER\FilterDlg.h
     文件        3353  1999-12-28 15:05  50HZFITER\ReadMe.txt
     目录           0  2011-04-16 23:09  50HZFITER\res\
     文件        1236  1999-12-29 15:58  50HZFITER\Resource.h
     文件        1078  1999-12-28 15:05  50HZFITER\res\Filter.ico
     文件         398  1999-12-28 15:05  50HZFITER\res\Filter.rc2
     文件         204  1999-12-28 15:05  50HZFITER\StdAfx.cpp
     文件         987  1999-12-28 15:05  50HZFITER\StdAfx.h

评论

共有 条评论