GpsRoadCrossPoint.cpp
上传用户:yffx2008
上传日期:2014-10-12
资源大小:12414k
文件大小:2k
源码类别:
交通/航空行业
开发平台:
Visual C++
- // GpsRoadCrossPoint.cpp: implementation of the CGpsRoadCrossPoint class.
- //
- //////////////////////////////////////////////////////////////////////
- #include "stdafx.h"
- #include "GpsSC.h"
- #include "GpsRoadCrossPoint.h"
- #ifdef _DEBUG
- #undef THIS_FILE
- static char THIS_FILE[]=__FILE__;
- #define new DEBUG_NEW
- #endif
- //////////////////////////////////////////////////////////////////////
- // Construction/Destruction
- //////////////////////////////////////////////////////////////////////
- CGpsRoadCrossPoint::CGpsRoadCrossPoint()
- {
- m_CrossRoad1_Serial = 0;
- m_CrossRoad1_Serial_Bytes = 1;
- m_CrossRoad1_Number = 0;
- m_CrossRoad1_Number_Bytes = 2;
- m_CrossRoad1_Level = 0;
- m_CrossRoad1_Level_Bytes = 1;
- m_CrossRoad2_Serial = 0;
- m_CrossRoad2_Serial_Bytes = 1;
- m_CrossRoad2_Number = 0;
- m_CrossRoad2_Number_Bytes = 2;
- m_CrossRoad2_Level = 0;
- m_CrossRoad2_Level_Bytes = 1;
- m_CrossRoad3_Serial = 0;
- m_CrossRoad3_Serial_Bytes = 1;
- m_CrossRoad3_Number = 0;
- m_CrossRoad3_Number_Bytes = 2;
- m_CrossRoad3_Level = 0;
- m_CrossRoad3_Level_Bytes = 1;
- m_CrossRoad4_Serial = 0;
- m_CrossRoad4_Serial_Bytes = 1;
- m_CrossRoad4_Number = 0;
- m_CrossRoad4_Number_Bytes = 2;
- m_CrossRoad4_Level = 0;
- m_CrossRoad4_Level_Bytes = 1;
- }
- CGpsRoadCrossPoint::~CGpsRoadCrossPoint()
- {
- }
- void CGpsRoadCrossPoint::Clear()
- {
- m_CrossRoad1_Serial = 0;
- m_CrossRoad1_Number = 0;
- m_CrossRoad1_Level = 0;
- m_CrossRoad2_Serial = 0;
- m_CrossRoad2_Number = 0;
- m_CrossRoad2_Level = 0;
- m_CrossRoad3_Serial = 0;
- m_CrossRoad3_Number = 0;
- m_CrossRoad3_Level = 0;
- m_CrossRoad4_Serial = 0;
- m_CrossRoad4_Number = 0;
- m_CrossRoad4_Level = 0;
- m_dgx = 0.0;
- m_dgy = 0.0;
- m_lx = 0;
- m_ly = 0;
- }