a
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
#if !defined(AFX_UPDATETIMEWINDOW_H__CE41A24E_54B4_4060_95BC_218FFA3A0789__INCLUDED_)
|
||||
#define AFX_UPDATETIMEWINDOW_H__CE41A24E_54B4_4060_95BC_218FFA3A0789__INCLUDED_
|
||||
|
||||
|
||||
#include "SComPort.h"
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
// UpDateTimeWindow.h : header file
|
||||
//
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// CUpDateTimeWindow dialog
|
||||
|
||||
class CUpDateTimeWindow : public CDialog
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
CUpDateTimeWindow(CWnd* pParent = NULL); // standard constructor
|
||||
DWORD m_dwID;
|
||||
_ConnectionPtr m_pConnection;//操作数据库
|
||||
// CSComPort m_sComPort;// 串口
|
||||
CDevice* m_pDev;
|
||||
BOOL m_result;
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CUpDateTimeWindow)
|
||||
enum { IDD = IDD_TIME_WINDOW };
|
||||
CListCtrl m_TimeWindow;
|
||||
int m_Start;
|
||||
int m_Width;
|
||||
//}}AFX_DATA
|
||||
private:
|
||||
int m_Length; //记录时窗的数量
|
||||
void ShowWindowList();
|
||||
CStringArray m_listArray;
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CUpDateTimeWindow)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CUpDateTimeWindow)
|
||||
virtual void OnOK();
|
||||
virtual BOOL OnInitDialog();
|
||||
afx_msg void OnAdd();
|
||||
afx_msg void OnDelelte();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_UPDATETIMEWINDOW_H__CE41A24E_54B4_4060_95BC_218FFA3A0789__INCLUDED_)
|
||||
Reference in New Issue
Block a user