리크 테스트 gui
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

86 lines
1.7 KiB

// 9524cdmaDlg.h : header file
#pragma once
#include "afxcmn.h"
#include "afxwin.h"
#include "Dask64.h"
#define READCOUNT 60
// C9524cdmaDlg dialog
class C9524cdmaDlg : public CDialog
{
// Construction
public:
C9524cdmaDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_9524DMA_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
UINT_PTR m_nTimer;
I16 m_hCard;
U32 m_dwSampRate;
U16 m_wChan;
U32 m_AIBuf1[READCOUNT];
U32 m_AIBuf2[READCOUNT];
U16 m_wBufferID1;
U16 m_wBufferID2;
U16 m_wRange;
U16 m_wGroup;
U16 m_wMode;
int m_oldY[8];
int m_oldX[8];
U32 m_dwReadCount;
U8 m_bView;
U32 m_dwOverrunCnt;
// Generated message map functions
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
double max_range;
double min_range;
int n_PlotWidth;
int n_PlotHeight;
int y_divider;
int x_divider;
int m_DisplayScale;
HBRUSH OnBrush;
HBRUSH OffBrush;
CPen RedPen;
CPen GreenPen;
CPen YellowPen;
CPen BluePen;
CPen LTBluePen;
CPen LTRedPen;
CPen LTGreenPen;
CPen WhitePen;
void redraw_display_area(void);
afx_msg void OnDestroy();
afx_msg void OnStart();
int display_buffer_data(U32* pBuf);
afx_msg void OnCh0();
afx_msg void OnCh1();
afx_msg void OnCh2();
afx_msg void OnCh3();
afx_msg void OnCh4();
afx_msg void OnCh5();
afx_msg void OnCh6();
afx_msg void OnCh7();
afx_msg void OnTimer(UINT_PTR nIDEvent);
afx_msg void OnStop();
CComboBox m_cbSampRate;
afx_msg void OnSampRateSelchange();
};