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

交通/航空行业

开发平台:

Visual C++

  1. // GpsRoadCrossPoint.cpp: implementation of the CGpsRoadCrossPoint class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #include "stdafx.h"
  5. #include "GpsSC.h"
  6. #include "GpsRoadCrossPoint.h"
  7. #ifdef _DEBUG
  8. #undef THIS_FILE
  9. static char THIS_FILE[]=__FILE__;
  10. #define new DEBUG_NEW
  11. #endif
  12. //////////////////////////////////////////////////////////////////////
  13. // Construction/Destruction
  14. //////////////////////////////////////////////////////////////////////
  15. CGpsRoadCrossPoint::CGpsRoadCrossPoint()
  16. {
  17. m_CrossRoad1_Serial = 0;
  18. m_CrossRoad1_Serial_Bytes = 1;
  19. m_CrossRoad1_Number = 0;
  20. m_CrossRoad1_Number_Bytes = 2;
  21. m_CrossRoad1_Level = 0;
  22. m_CrossRoad1_Level_Bytes = 1;
  23. m_CrossRoad2_Serial = 0;
  24. m_CrossRoad2_Serial_Bytes = 1;
  25. m_CrossRoad2_Number = 0;
  26. m_CrossRoad2_Number_Bytes = 2;
  27. m_CrossRoad2_Level = 0;
  28. m_CrossRoad2_Level_Bytes = 1;
  29. m_CrossRoad3_Serial = 0;
  30. m_CrossRoad3_Serial_Bytes = 1;
  31. m_CrossRoad3_Number = 0;
  32. m_CrossRoad3_Number_Bytes = 2;
  33. m_CrossRoad3_Level = 0;
  34. m_CrossRoad3_Level_Bytes = 1;
  35. m_CrossRoad4_Serial = 0;
  36. m_CrossRoad4_Serial_Bytes = 1;
  37. m_CrossRoad4_Number = 0;
  38. m_CrossRoad4_Number_Bytes = 2;
  39. m_CrossRoad4_Level = 0;
  40. m_CrossRoad4_Level_Bytes = 1;
  41. }
  42. CGpsRoadCrossPoint::~CGpsRoadCrossPoint()
  43. {
  44. }
  45. void CGpsRoadCrossPoint::Clear()
  46. {
  47. m_CrossRoad1_Serial = 0;
  48. m_CrossRoad1_Number = 0;
  49. m_CrossRoad1_Level = 0;
  50. m_CrossRoad2_Serial = 0;
  51. m_CrossRoad2_Number = 0;
  52. m_CrossRoad2_Level = 0;
  53. m_CrossRoad3_Serial = 0;
  54. m_CrossRoad3_Number = 0;
  55. m_CrossRoad3_Level = 0;
  56. m_CrossRoad4_Serial = 0;
  57. m_CrossRoad4_Number = 0;
  58. m_CrossRoad4_Level = 0;
  59. m_dgx = 0.0;
  60. m_dgy = 0.0;
  61. m_lx = 0;
  62. m_ly = 0;
  63. }