📄 数据分析器dlg.h
字号:
// 数据分析器Dlg.h : header file
//
#if !defined(AFX_DLG_H__5248DD70_4472_49DC_A6F3_2ABC526F2B5C__INCLUDED_)
#define AFX_DLG_H__5248DD70_4472_49DC_A6F3_2ABC526F2B5C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "GridCtrl_src/GridCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CMyDlg dialog
#define SHOWLINE_NUM 16
class CMyDlg : public CDialog
{
// Construction
public:
void leftmove(unsigned char * data,int bitnum);
void rightmove(unsigned char * data,int bitnum);
void GetData(unsigned char * data,int bitnum,int type);
unsigned char GetBit(unsigned char c,int s,int e);
void DataSave(CString filename);
void DataLoad(CString filename);
int GetFilepos();
int CMyDlg::GetFilepos(int & len);
void GetData(unsigned char *data,int k);
void charmove(unsigned char c,int k,unsigned char * data,int len);
CMyDlg(CWnd* pParent = NULL); // standard constructor
void InitGrid();
CGridCtrl m_Grid;
FILE *m_file;
unsigned char m_c;
unsigned char m_cc[4];
int m_k;
// Dialog Data
//{{AFX_DATA(CMyDlg)
enum { IDD = IDD_MY_DIALOG };
CEdit m_datactr;
CString m_path;
CString m_data;
CString m_datafile;
int m_len;
CString m_crc;
int m_charnum;
int m_start;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyDlg)
protected:
virtual BOOL PreTranslateMessage(MSG* pMsg);
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMyDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void Onbrower();
afx_msg void OnOpen();
afx_msg void OnButton2();
afx_msg void OnAnalyse();
afx_msg void OnButton4();
afx_msg void OnLoad();
afx_msg void Onbrower2();
afx_msg void OnOpen2();
afx_msg void OnSave();
afx_msg void OnAddline();
afx_msg void OnDeleteline();
afx_msg void OnButton1();
afx_msg void OnCrc32();
afx_msg void OnTongji();
afx_msg void OnClear();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_H__5248DD70_4472_49DC_A6F3_2ABC526F2B5C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -