📄 apicomdlg.h
字号:
// apicomDlg.h : header file
//
#if !defined(AFX_APICOMDLG_H__863A6778_B00A_47F5_86ED_24C92C745F01__INCLUDED_)
#define AFX_APICOMDLG_H__863A6778_B00A_47F5_86ED_24C92C745F01__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CApicomDlg dialog
class CApicomDlg : public CDialog
{
// Construction
public:
CApicomDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CApicomDlg)
enum { IDD = IDD_APICOM_DIALOG };
int m_baudrate;
int m_checkout;
int m_comsel;
int m_databit;
int m_parity;
CString m_readdata;
int m_rsmode;
int m_rtime;
CString m_senddata;
int m_stime;
int m_stopbit;
float m_data;
float m_data2;
float m_data3;
float m_data4;
//}}AFX_DATA
public:
unsigned short Getcmd_CRC(unsigned char *cmdbuf,int cmdlen);
float CS16toint(char *buff);
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CApicomDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CApicomDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void Onsend();
afx_msg void Oninit();
afx_msg void Onread();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void Onpause();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_APICOMDLG_H__863A6778_B00A_47F5_86ED_24C92C745F01__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -