-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFSKGenDlg.h
66 lines (58 loc) · 1.4 KB
/
FSKGenDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// FSKGenDlg.h : header file
//
#pragma once
#include "afxwin.h"
#include "general.h"
class CFSKBitStrGen;
class CWaveGen;
// CFSKGenDlg dialog
class CFSKGenDlg : public CDialog
{
// Construction
public:
CFSKGenDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_FSKGEN_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
// 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_month;
public:
CComboBox m_day;
CComboBox m_hour;
CComboBox m_minute;
CComboBox m_samplingFreq;
public:
afx_msg void OnBnClickedSetfilepath();
afx_msg void OnBnClickedMdmf();
afx_msg void OnBnClickedSdmf();
void processType(bool);
private:
int m_nameRadio;
int m_numberRadio;
CString pathName ;
int m_typeRadio;
afx_msg void OnBnClickedGenerate();
bool CheckFileName(void);
char path[MAX_PATH];
uint8 telNum[MAX_PATH];
char name[MAX_PATH];
uint8 cid_type;
int GetCIDType(void);
void GetDateAndTime(void);
uint8 month,day,hour,minute;
CFSKBitStrGen *m_fskGen;
CWaveGen *m_waveGen;
uint32 sampleRate[20];
bool GetTellNum(void);
bool GetNameData(void);
};