📄 selectbattdlg.h
字号:
#if !defined(AFX_SELECTBATTDLG_H__230724C7_7591_4146_8794_A102A4677B02__INCLUDED_)
#define AFX_SELECTBATTDLG_H__230724C7_7591_4146_8794_A102A4677B02__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SelectBattDlg.h : header file
//
#include "NumericEdit.h"
#include "CoreObject\SerialComm.h"
#include "CoreObject\DataReaderImpl.h"
#define WM_PLOTCURVE WM_USER+0x221
class CSelectBattDlg : public CDialog, public CDataReaderImpl
{
// Construction
public:
void SetRdTime(float fRdTime);
CSelectBattDlg(CDataReaderImpl *pReadImpl, CWnd* pParent = NULL); // standard constructor
CSelectBattDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CSelectBattDlg)
enum { IDD = IDD_CONN_DIALOG };
CButton m_btnEmpty;
CButton m_btnConn;
CEdit m_wndHasRdTime;
CEdit m_wndBattPath;
CEdit m_wndBattType;
CNumericEdit m_wndRdTime;
CButton m_btnClose;
CBrush m_brushBk1;
//}}AFX_DATA
virtual void NotifyData (void *pData, ULONG nSize);
CSpinButtonCtrl m_Spin;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSelectBattDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CSelectBattDlg)
virtual BOOL OnInitDialog();
afx_msg void OnDestroy();
afx_msg void OnClose();
afx_msg void OnPaint();
afx_msg HRESULT OnRecvMsg(WPARAM wParam, LPARAM lParam);
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnDeltaposSpin(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnChangeBatttype();
afx_msg void OnConn();
afx_msg void OnEmptyFlash();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnChgPath();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
//
int GetRdTime();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SELECTBATTDLG_H__230724C7_7591_4146_8794_A102A4677B02__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -