VehicleMessageSet.h
上传用户:yffx2008
上传日期:2014-10-12
资源大小:12414k
文件大小:2k
- #if !defined(AFX_VEHICLEMESSAGESET_H__D02DCE14_CA2C_414D_B629_C339B2A16820__INCLUDED_)
- #define AFX_VEHICLEMESSAGESET_H__D02DCE14_CA2C_414D_B629_C339B2A16820__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // VehicleMessageSet.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CVehicleMessageSet recordset
- #include "afxdb.h"
- class CVehicleMessageSet : public CRecordset
- {
- public:
- CVehicleMessageSet(CDatabase* pDatabase = NULL);
- DECLARE_DYNAMIC(CVehicleMessageSet)
- // Field/Param Data
- //{{AFX_FIELD(CVehicleMessageSet, CRecordset)
- long m_ID;
- CString m_CarPhone;
- CString m_Time;
- CString m_Speed;
- CString m_CarEstate;
- CString m_CarPlace;
- CString m_Longitude;
- CString m_Latitude;
- //}}AFX_FIELD
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CVehicleMessageSet)
- public:
- virtual CString GetDefaultConnect(); // Default connection string
- virtual CString GetDefaultSQL(); // Default SQL for Recordset
- virtual void DoFieldExchange(CFieldExchange* pFX); // RFX support
- //}}AFX_VIRTUAL
- // Implementation
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- public:
- void AddMessage(CString strCarPhone, CString strTime, CString strCarEstate, CString strCarPlace, CString strLongitude, CString strLatitude,CString strSpeed);
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_VEHICLEMESSAGESET_H__D02DCE14_CA2C_414D_B629_C339B2A16820__INCLUDED_)