You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
803 B
C++
40 lines
803 B
C++
//////////////////////////////////////////////////////////////////////////////
|
|
//文件 CurveTV.h
|
|
//主要功能:
|
|
//
|
|
//程序编写: 2005-12-07
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
#include "curveex.h"
|
|
|
|
namespace NTV
|
|
{
|
|
|
|
|
|
class AFX_EXT_CLASS CCurveTV :
|
|
public CCurveEx
|
|
{
|
|
public:
|
|
CCurveTV(void);
|
|
virtual ~CCurveTV(void);
|
|
|
|
//在CCurveEx类中的x为速度,y是时间(TV对)
|
|
virtual int Read(CFile &fr, const short& ver);
|
|
virtual void Write(CFile& fw, const short& ver, double dRedundantError=-1.0);
|
|
void operator=(CCurveTV& curve);
|
|
virtual double Dix(int nIndex);
|
|
|
|
double m_location; //桩号
|
|
double m_recity; //校正量
|
|
|
|
protected:
|
|
double VR(int nIndex);
|
|
void WriteTV(CFile& fw, double scale=1.0);
|
|
int ReadTV(CFile& fr);
|
|
};
|
|
|
|
}//namespace
|
|
|
|
using namespace NTV;
|