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.
73 lines
1.5 KiB
73 lines
1.5 KiB
|
|
// SDK9222GPTCDlg.h : header file
|
|
//
|
|
|
|
#pragma once
|
|
#include "afxwin.h"
|
|
|
|
#include "Dask64.h"
|
|
|
|
// CSDK9222GPTCDlg dialog
|
|
class CSDK9222GPTCDlg : public CDialog
|
|
{
|
|
// Construction
|
|
public:
|
|
CSDK9222GPTCDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor
|
|
|
|
// Dialog Data
|
|
enum { IDD = IDD_SDK9222GPTC_DIALOG };
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
|
|
|
|
// Implementation
|
|
protected:
|
|
HICON m_hIcon;
|
|
I16 m_hCard;
|
|
U16 m_wGPTCNo;
|
|
U16 m_GPTCMode;
|
|
U16 m_wSrcCtrl;
|
|
U16 m_wPolCtrl;
|
|
|
|
U32 m_dwLReg1_Val;
|
|
U32 m_dwLReg2_Val;
|
|
|
|
UINT_PTR m_nTimer0;
|
|
UINT_PTR m_nTimer1;
|
|
|
|
U8 m_bRunning0;
|
|
U8 m_bRunning1;
|
|
U8 m_bRunning2;
|
|
U8 m_bRunning3;
|
|
|
|
|
|
// 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:
|
|
CComboBox m_cbGPTCNo;
|
|
CComboBox m_cbMode1Option;
|
|
CComboBox m_cbMode2Option;
|
|
CComboBox m_cbMode3Option;
|
|
afx_msg void OnRadioMode0();
|
|
afx_msg void OnRadioMode1();
|
|
afx_msg void OnRadioMode2();
|
|
afx_msg void OnRadioMode3();
|
|
|
|
void Update_UI(int BlockIdx);
|
|
afx_msg void OnGPTCNoSelchange();
|
|
afx_msg void OnComboMode1Selchange();
|
|
afx_msg void OnComboMode2Selchange();
|
|
afx_msg void OnComboMode3Selchange();
|
|
afx_msg void OnGPTCMode0Start();
|
|
afx_msg void OnGPTCMode1Start();
|
|
afx_msg void OnGPTCMode2Start();
|
|
afx_msg void OnGPTCMode3Start();
|
|
void GPTC_Major_Process0(void);
|
|
void GPTC_Major_Process1(void);
|
|
afx_msg void OnTimer(UINT_PTR nIDEvent);
|
|
};
|
|
|