📄 ideddlg.h
字号:
#if !defined(AFX_IDEDDLG_H__44231F2E_B3EF_4B45_A42C_36112C12355E__INCLUDED_)
#define AFX_IDEDDLG_H__44231F2E_B3EF_4B45_A42C_36112C12355E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// IDEDDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CIDEDDlg dialog
#include "ado.h"
#include "cnComm.h"
class CIDEDDlg : public CDialog
{
// Construction
public:
CIDEDDlg(CWnd* pParent = NULL); // standard constructor
CAdoConnection m_adoConnection;
cnComm m_Com1;
// Dialog Data
//{{AFX_DATA(CIDEDDlg)
enum { IDD = IDD_EDIDDlg_DIALOG };
CListCtrl m_IntervalStationChList;
CListCtrl m_TrainCodeList;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CIDEDDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
char mDir_Path[256]; //程序路径
char mMDB_Path[256]; //数据库路径
CString m_sTrainCode,m_sOriginalStationCh,m_sLastStationCh,m_sStartTime,m_sPassStationCh,m_sIntervalStationCh;
int IndexInFieldList;
unsigned char ucroute_idQ,ucroute_idW,ucOriginalStationQ,ucOriginalStationW,ucLastStationQ,ucLastStationW,WeekQ,WeekW;
unsigned char ucroute_startQ,ucroute_startW,ucroute_endQ,ucroute_endW;
unsigned char uchuanyingQ,uchuanyingW,uchuanyingQ1,uchuanyingW1;
void wait();
CString GetCurrentWeek();
BOOL m_bAutoSend;
int TrainCode_len;
// Generated message map functions
//{{AFX_MSG(CIDEDDlg)
virtual BOOL OnInitDialog();
afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnIntervalStationButton();
afx_msg void OnIDButton();
afx_msg void OnEDButton();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//通过类型定义语句typedef来定义函数指针类型
typedef unsigned short (__cdecl *PFuncCRC16)(char *buffer,int len);
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_IDEDDLG_H__44231F2E_B3EF_4B45_A42C_36112C12355E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -