📄 parksysview.h
字号:
// ParkSysView.h : interface of the CParkSysView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_PARKSYSVIEW_H__BE77997D_1404_11D4_B34E_0080C8F5DB70__INCLUDED_)
#define AFX_PARKSYSVIEW_H__BE77997D_1404_11D4_B34E_0080C8F5DB70__INCLUDED_
#include "SerialPort.h"
#include "CountTime.h"
#include "avicap.h"
#include "vicpublic.h"
#include "aviStatic.h"
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CParkSysView : public CFormView
{
protected: // create from serialization only
CParkSysView();
DECLARE_DYNCREATE(CParkSysView)
public:
//{{AFX_DATA(CParkSysView)
enum { IDD = IDD_PARKSYS_FORM };
CAviStatic m_aviEx;
CAviStatic m_aviEn;
CStatic m_bmpIn;
CString m_enCardID;
CString m_enInTime;
CString m_exCardID;
CString m_exChargeNum;
CString m_exInTime;
CString m_exOutTime;
CString m_exUseTime;
long m_NowCarNum; //已用车位
DWORD m_TotalCarNum;
//}}AFX_DATA
// Attributes
private:
void DisplayImage(CLongBinary* image);
void OnGrabimage(CString strCardID);
BOOL CheckCarOut(CString strCardID);
LONG RefreshCarCount(CString strCardID);
protected:
CSerialPort m_CommLP;
CSerialPort m_CommLED;
CAviCap avi[2];
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CParkSysView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
void CreateNewLabel();
virtual ~CParkSysView();
#ifdef _DEBUG
#endif
protected:
// Generated message map functions
protected:
BOOL Charge(CString cardid, double &cyFee);
//{{AFX_MSG(CParkSysView)
afx_msg void OnGenerateAccount();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnCharge();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in ParkSysView.cpp
inline CParkSysDoc* CParkSysView::GetDocument()
{ return (CParkSysDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PARKSYSVIEW_H__BE77997D_1404_11D4_B34E_0080C8F5DB70__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -