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.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "ObjContainer.h"
|
|
|
|
|
#include "LabVecRang.h"
|
|
|
|
|
//ÿ<><C3BF>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD>obj <20><><EFBFBD><EFBFBD><EFBFBD>Խ<EFBFBD>obj <20><><EFBFBD><EFBFBD>layer <20>༭
|
|
|
|
|
class CTemplate
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CTemplate(void);
|
|
|
|
|
~CTemplate(void);
|
|
|
|
|
CObjContainer &GetObjContainer(){return m_ObjContainer;};
|
|
|
|
|
void WriteWorkFile(vector<CLab> &LabVec);
|
|
|
|
|
void ReadWorkFile(CLabVecRang &LabVecRang);
|
|
|
|
|
void ClearObj(){m_ObjContainer.Clear();};
|
|
|
|
|
void SetRect(DbRect &rect,bool bCircle);
|
|
|
|
|
void Draw(CDC* pDC,CPen&Pen);
|
|
|
|
|
void CollectWorkData(vector<vector<Dbxy>> &vec);
|
|
|
|
|
private:
|
|
|
|
|
CObjContainer m_ObjContainer;//ģ<><C4A3><EFBFBD><EFBFBD>obj <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
DbRect m_Rect;//ģ<><C4A3><EFBFBD>ı߽緶Χ
|
|
|
|
|
bool m_bCircle;
|
|
|
|
|
};
|
|
|
|
|
|