GpsPoint.cpp
上传用户:yffx2008
上传日期:2014-10-12
资源大小:12414k
文件大小:1k
- // GpsPoint.cpp: implementation of the CGpsPoint class.
- //
- //////////////////////////////////////////////////////////////////////
- #include "stdafx.h"
- #include "GpsSC.h"
- #include "GpsPoint.h"
- #ifdef _DEBUG
- #undef THIS_FILE
- static char THIS_FILE[]=__FILE__;
- #define new DEBUG_NEW
- #endif
- //////////////////////////////////////////////////////////////////////
- // Construction/Destruction
- //////////////////////////////////////////////////////////////////////
- CGpsPoint::CGpsPoint()
- {
- m_dgx = 0.0;
- m_dgy = 0.0;
- m_lx = 0;
- m_ly = 0;
- m_gxBytes = 4;
- m_gyBytes = 4;
- m_sVehicleNO.Empty();
- }
- CGpsPoint::~CGpsPoint()
- {
- }
- CGpsPoint& CGpsPoint::operator = (const CGpsPoint& ds)
- {
- m_dgx = ds.m_dgx;
- m_dgy = ds.m_dgy;
- m_lx = ds.m_lx;
- m_ly = ds.m_ly;
- m_gxBytes = ds.m_gxBytes;
- m_gyBytes = ds.m_gyBytes;
- m_sVehicleNO = ds.m_sVehicleNO;
- return *this;
- }