📄 demodlg.h
字号:
// DemoDlg.h : header file
//
#if !defined(AFX_DEMODLG_H__AC135E88_54CC_4811_AF4C_25BF46ADA2B1__INCLUDED_)
#define AFX_DEMODLG_H__AC135E88_54CC_4811_AF4C_25BF46ADA2B1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDemoDlgAutoProxy;
/////////////////////////////////////////////////////////////////////////////
// CDemoDlg dialog
class CDemoDlg : public CDialog
{
DECLARE_DYNAMIC(CDemoDlg);
friend class CDemoDlgAutoProxy;
// Construction
public:
void DrawWave(CDC* pDC);
void ClearDatabase();
void LoadDataFromAccess();
void ResultOutput(CString str,double reading);
void SaveDataToAccess();
void DisconnectToAccess();
void ConnectToAccess();
long ReadOne();
CDemoDlg(CWnd* pParent = NULL); // standard constructor
virtual ~CDemoDlg();
_ConnectionPtr m_pConnection;
_CommandPtr m_pCommand;
_RecordsetPtr m_pRecordset;
CString m_strResult;
// Dialog Data
//{{AFX_DATA(CDemoDlg)
enum { IDD = IDD_DEMO_DIALOG };
CString m_strRealValue;
CString m_strTempValue;
CString m_strZeroBase;
CString m_strModuleID;
CString m_strModuleName;
int m_iModulesNumber;
CString m_strModuleType;
CString m_strNetworkDescription;
CString m_strNetworkType;
CString m_strProbeStroke;
int m_iScale;
CString m_strSWVersion;
float m_fUpLimit;
CString m_strHWVersion;
float m_fDownLimit;
CString m_strDeviceType;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDemoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CDemoDlgAutoProxy* m_pAutoProxy;
HICON m_hIcon;
BOOL CanExit();
// Generated message map functions
//{{AFX_MSG(CDemoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnClose();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnExit();
afx_msg void OnConnectToNetwork();
afx_msg void OnNotifyAndAdd();
afx_msg void OnOneCollect();
afx_msg void OnSetBase();
afx_msg void OnCollect1000();
afx_msg void OnScan();
afx_msg void OnOpenAccess();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnEmptyAccess();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DEMODLG_H__AC135E88_54CC_4811_AF4C_25BF46ADA2B1__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -