gpspoint.cpp

来自「用VC写的监控中心后台程序。 代码全」· C++ 代码 · 共 49 行

CPP
49
字号
// 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;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?