VehicleMessageSet.h
上传用户:yffx2008
上传日期:2014-10-12
资源大小:12414k
文件大小:2k
源码类别:

交通/航空行业

开发平台:

Visual C++

  1. #if !defined(AFX_VEHICLEMESSAGESET_H__D02DCE14_CA2C_414D_B629_C339B2A16820__INCLUDED_)
  2. #define AFX_VEHICLEMESSAGESET_H__D02DCE14_CA2C_414D_B629_C339B2A16820__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // VehicleMessageSet.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CVehicleMessageSet recordset
  10. #include "afxdb.h"
  11. class CVehicleMessageSet : public CRecordset
  12. {
  13. public:
  14. CVehicleMessageSet(CDatabase* pDatabase = NULL);
  15. DECLARE_DYNAMIC(CVehicleMessageSet)
  16. // Field/Param Data
  17. //{{AFX_FIELD(CVehicleMessageSet, CRecordset)
  18. long m_ID;
  19. CString m_CarPhone;
  20. CString m_Time;
  21. CString m_Speed;
  22. CString m_CarEstate;
  23. CString m_CarPlace;
  24. CString m_Longitude;
  25. CString m_Latitude;
  26. //}}AFX_FIELD
  27. // Overrides
  28. // ClassWizard generated virtual function overrides
  29. //{{AFX_VIRTUAL(CVehicleMessageSet)
  30. public:
  31. virtual CString GetDefaultConnect();    // Default connection string
  32. virtual CString GetDefaultSQL();    // Default SQL for Recordset
  33. virtual void DoFieldExchange(CFieldExchange* pFX);  // RFX support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. #ifdef _DEBUG
  37. virtual void AssertValid() const;
  38. virtual void Dump(CDumpContext& dc) const;
  39. #endif
  40. public:
  41. void AddMessage(CString strCarPhone, CString strTime, CString strCarEstate, CString strCarPlace, CString strLongitude, CString strLatitude,CString strSpeed);
  42. };
  43. //{{AFX_INSERT_LOCATION}}
  44. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  45. #endif // !defined(AFX_VEHICLEMESSAGESET_H__D02DCE14_CA2C_414D_B629_C339B2A16820__INCLUDED_)