⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 graphdataset.cpp

📁 Read nmea file and send to com port. you can easly simulate the gps application
💻 CPP
字号:
//GraphDataSet.h - Version 3.0 (Brian Convery, May, 2001)

// GraphDataSet.cpp : implementation file
//

#include "stdafx.h"
#include "GraphDataSet.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CGraphDataSet

CGraphDataSet::CGraphDataSet()
{
	xPosition = 0;
	yPosition = 0;
}

CGraphDataSet::~CGraphDataSet()
{
}

/////////////////////////////////////////////////////////////////////////////
// CGraphDataSet message handlers

void CGraphDataSet::SetXPosition(double x)
{
	xPosition = x;
}

void CGraphDataSet::SetYPosition(double y)
{
	yPosition = y;
}

void CGraphDataSet::SetPosition(double x, double y)
{
	xPosition = x;
	yPosition = y;
}

double CGraphDataSet::GetXData()
{
	return xPosition;
}

double CGraphDataSet::GetYData()
{
	return yPosition;
}

⌨️ 快捷键说明

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