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.

50 lines
1.5 KiB
C++

/**************************************************************************************
主要功能:
储量单元道类
主要函数列表:
1 virtual int ReadPCG_Data(CFile &fr,const short& ver);//读pcg格式的数据
2 virtual int ReadPCG_Self(CFile &fr,CXmlParse& xp,const short& ver );//读pcg格式的道
3 virtual void WritePCG_Trace(CFile &fw,int nBaseTabNum);//写pcg格式的道
4 virtual void WritePCG_Data(CFile &fw,int nBaseTabNum);//写pcg格式的道内数据
5 virtual void ResetChildProperties();//重设取芯位置符号的属性
修改历史记录:
**************************************************************************************/
#ifndef TRACKRESERVEUNITOBJ_H
#define TRACKRESERVEUNITOBJ_H
#pragma once
#include "TrackStratum.h"
class AFX_EXT_CLASS CTrackReserveUnit: public CTrackStratum
{
public:
CTrackReserveUnit();
CTrackReserveUnit(const CRect8& position);
~CTrackReserveUnit();
// Implementation
public:
public:
virtual void Serialize(CArchive& ar, const short &ver);
virtual void ResetChildProperties();//重设取芯位置符号的属性
// PCG格式的读写
//读pcg格式的数据
virtual int ReadPCG_Data(CFile &fr,const short& ver);
//读pcg格式的道
virtual int ReadPCG_Self(CFile &fr,CXmlParse& xp,const short& ver );
//写pcg格式的道
virtual void WritePCG_Trace(CFile &fw,int nBaseTabNum);
//写pcg格式的道内数据
virtual void WritePCG_Data(CFile &fw,int nBaseTabNum);
public:
virtual int ReadPCG_Data(CKXmlParse& xp, const short& ver);
//读pcg格式的道
virtual int ReadPCG_Self(CKXmlParse& xp, const short& ver);
};
#endif